From ec136e6045ce040133a32878c6dc2219ef86dd02 Mon Sep 17 00:00:00 2001 From: Sollace Date: Sat, 25 Nov 2023 03:58:55 +0000 Subject: [PATCH] Only play kirin rage theme to the kirin themselves --- .../unicopia/ability/magic/spell/RageAbilitySpell.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/minelittlepony/unicopia/ability/magic/spell/RageAbilitySpell.java b/src/main/java/com/minelittlepony/unicopia/ability/magic/spell/RageAbilitySpell.java index 3edec65a..f12938b0 100644 --- a/src/main/java/com/minelittlepony/unicopia/ability/magic/spell/RageAbilitySpell.java +++ b/src/main/java/com/minelittlepony/unicopia/ability/magic/spell/RageAbilitySpell.java @@ -94,7 +94,7 @@ public class RageAbilitySpell extends AbstractSpell { } if (source instanceof Pony pony) { - if (source.isClient() && pony.asEntity().getAttackCooldownProgress(0) == 0) { + if (pony.isClientPlayer() && pony.asEntity().getAttackCooldownProgress(0) == 0) { InteractionManager.instance().playLoopingSound(source.asEntity(), InteractionManager.SOUND_KIRIN_RAGE, source.asWorld().random.nextLong()); } Bar energyBar = pony.getMagicalReserves().getEnergy();