mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-27 23:45:38 +00:00
Made animation fetching methods return Animation instead of IDs
This commit is contained in:
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();
|
||||
|
||||
Reference in new issue
Block a user