Implemented animation GUI

This commit is contained in:
Luis C.M committed 2023-02-06 23:17:05 -06:00
1 parent 30d73f91cf
commit cfca59a48e
15 files changed
+818 -23

No files matched your search

+1 -1
View File
@@ -35,7 +35,7 @@ public class AnimationData implements IAnimationData {
}
public boolean isActive() {
if (!this.allowAnimation || this.animation == null || this.animation.currentFrame == this.animation.frames.size())
if (!this.allowAnimation || this.animation == null || this.animation.currentFrame == this.animation.frames.size() || animation.currentFrame() == null)
return false;
if (this.parent instanceof DataDisplay) {