Fixed animations not playing in the animator GUI when the player's current world's time is paused.

This commit is contained in:
Luis C.M committed 2023-08-06 11:00:40 -05:00
1 parent 2c905d29b5
commit 7e2926cd44
1 file changed
+1 -1
@@ -420,7 +420,7 @@ public class GuiNPCManageAnimations extends GuiModelInterface implements IScroll
initGui();
} else if (data.isActive()) {
Frame currentFrame = (Frame) data.animation.currentFrame();
long time = mc.theWorld.getWorldTime();
long time = mc.theWorld.getTotalWorldTime();
if (time != prevTick) {
if (currentFrame != null && !currentFrame.renderTicks) {
data.animation.increaseTime();