diff --git a/src/main/java/net/Indyuce/mmocore/skill/cast/listener/SkillScroller.java b/src/main/java/net/Indyuce/mmocore/skill/cast/listener/SkillScroller.java index 43717196..c7189bcf 100644 --- a/src/main/java/net/Indyuce/mmocore/skill/cast/listener/SkillScroller.java +++ b/src/main/java/net/Indyuce/mmocore/skill/cast/listener/SkillScroller.java @@ -107,6 +107,9 @@ public class SkillScroller implements Listener { CustomSkillCastingHandler casting = (CustomSkillCastingHandler) playerData.getSkillCasting(); casting.index = mod(casting.index + change, playerData.getBoundSkills().size()); casting.onTick(); + + if (changeSound != null) + changeSound.playTo(event.getPlayer()); } private int mod(int x, int n) {