mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 08:27:45 +00:00
Fixed animations not playing in the animator GUI when the player's current world's time is paused.
This commit is contained in:
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();
|
||||
|
||||
Reference in new issue
Block a user