mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 03:47:27 +00:00
Fixed animations starting over instead of jumping to the current frame.
This commit is contained in:
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();
|
||||
|
||||
Reference in new issue
Block a user