Made animation fetching methods return Animation instead of IDs

This commit is contained in:
Vidal committed 2026-01-27 04:36:12 -03:00
1 parent 39b53b0be7
commit 93486d306b
3 files changed
+28 -17

No files matched your search

@@ -127,8 +127,8 @@ public class SubGuiAbilityConfig extends SubGuiInterface implements ITextfieldLi
// Effects
this.windUpSound = ability.getWindUpSound();
this.activeSound = ability.getActiveSound();
this.windUpAnimationId = ability.getWindUpAnimationId();
this.activeAnimationId = ability.getActiveAnimationId();
this.windUpAnimationId = ability.getWindUpAnimation() != null ? ability.getWindUpAnimation().getID() : -1;
this.activeAnimationId = ability.getActiveAnimation() != null ? ability.getActiveAnimation().getID() : -1;
// Telegraph
this.showTelegraph = ability.isShowTelegraph();