mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 17:47:32 +00:00
Small fix to animations: still running when using render ticks when the game is paused
This commit is contained in:
1 parent
782f21f1fe
commit
8340ae7311
2 files changed
+2
-2
No files matched your search
@@ -108,7 +108,7 @@ public class ClientEventHandler {
|
||||
ClientEventHandler.playerModel = null;
|
||||
}
|
||||
|
||||
if (data != null && data.isActive()) {
|
||||
if (data != null && data.isActive() && !Minecraft.getMinecraft().isGamePaused()) {
|
||||
Animation animation = data.animation;
|
||||
if (data.isActive() && animation.currentFrame().useRenderTicks()) {
|
||||
animation.increaseTime();
|
||||
|
||||
Reference in new issue
Block a user