Fixed animations starting over instead of jumping to the current frame.

This commit is contained in:
luisc committed 2025-02-11 17:59:35 -06:00
1 parent 00af353e65
commit 272b1c5e5a
2 files changed
+10 -9

No files matched your search

@@ -221,6 +221,8 @@ public class AnimationData implements IAnimationData {
if (animationNBT != null) {
data.setTag("Animation", animationNBT);
} else if (animation != null) {
data.setTag("Animation", animation.writeToNBT());
}
IAnimatable animatable = animationData.getEntity();