mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 01:27:27 +00:00
modified removeAnimation lambda a bit
This commit is contained in:
1 parent
16c3395d8c
commit
59cd5b6fe6
1 file changed
+3
-1
@@ -64,7 +64,9 @@ public class CommonProxy implements IGuiHandler {
|
||||
}
|
||||
|
||||
private boolean removeAnimation(Animation animation) {
|
||||
if (animation.parent == null || animation.parent.animation != animation) return true;
|
||||
if (animation.currentFrame() == null || animation.parent == null || animation.parent.animation != animation) {
|
||||
return true;
|
||||
}
|
||||
|
||||
Entity entity = null;
|
||||
if (animation.parent.parent instanceof DataDisplay) {
|
||||
|
||||
Reference in new issue
Block a user