From 937c7911967a69ad8abe951f8e9724a6866375d5 Mon Sep 17 00:00:00 2001 From: Electroblob77 <35599699+Electroblob77@users.noreply.github.com> Date: Tue, 9 Jun 2020 23:25:30 +0100 Subject: [PATCH] Goddamnit MCP, neither of these two methods do what the comments say they do! --- .../electroblob/wizardry/client/animation/ActionAnimation.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/electroblob/wizardry/client/animation/ActionAnimation.java b/src/main/java/electroblob/wizardry/client/animation/ActionAnimation.java index c6eeeeb8..e4ef4d70 100644 --- a/src/main/java/electroblob/wizardry/client/animation/ActionAnimation.java +++ b/src/main/java/electroblob/wizardry/client/animation/ActionAnimation.java @@ -31,7 +31,7 @@ public abstract class ActionAnimation extends Animation { @Override public boolean shouldDisplay(EntityPlayer player, boolean firstPerson){ - return !firstPerson && player.getItemInUseCount() > 0 && player.getActiveItemStack().getItemUseAction() == action; + return !firstPerson && player.getItemInUseMaxCount() > 0 && player.getActiveItemStack().getItemUseAction() == action; } /** Called from the client proxy to register all of wizardry's action animations. */