From 0e1a152510d7736b6231aff93ba4872872776c4b Mon Sep 17 00:00:00 2001 From: gnembon Date: Mon, 9 Nov 2020 23:07:05 -0400 Subject: [PATCH] this seems to also be true. --- src/main/java/carpet/helpers/EntityPlayerActionPack.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/java/carpet/helpers/EntityPlayerActionPack.java b/src/main/java/carpet/helpers/EntityPlayerActionPack.java index e0ea61ba..a9f8fe18 100644 --- a/src/main/java/carpet/helpers/EntityPlayerActionPack.java +++ b/src/main/java/carpet/helpers/EntityPlayerActionPack.java @@ -289,6 +289,10 @@ public class EntityPlayerActionPack ap.itemUseCooldown--; return true; } + if (player.isUsingItem()) + { + return true; + } HitResult hit = getTarget(player); for (Hand hand : Hand.values()) {