diff options
Diffstat (limited to 'patches/server/0522-Fix-PlayerItemConsumeEvent-cancelling-properly.patch')
-rw-r--r-- | patches/server/0522-Fix-PlayerItemConsumeEvent-cancelling-properly.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/patches/server/0522-Fix-PlayerItemConsumeEvent-cancelling-properly.patch b/patches/server/0522-Fix-PlayerItemConsumeEvent-cancelling-properly.patch index 36f12103c7..8ee954570b 100644 --- a/patches/server/0522-Fix-PlayerItemConsumeEvent-cancelling-properly.patch +++ b/patches/server/0522-Fix-PlayerItemConsumeEvent-cancelling-properly.patch @@ -9,10 +9,10 @@ till their item is switched. This patch clears the active item when the event is cancelled diff --git a/src/main/java/net/minecraft/world/entity/LivingEntity.java b/src/main/java/net/minecraft/world/entity/LivingEntity.java -index 83730b9da452d27b420770adf6ff179b936f2bbd..75ed2ed9fa3e620e48216840bafd9bcfe7123901 100644 +index df0286a972dfa4e3b4c1898f8936062aaf3cdde6..541debdee83cbef985aafa0c3cb344a5bee18625 100644 --- a/src/main/java/net/minecraft/world/entity/LivingEntity.java +++ b/src/main/java/net/minecraft/world/entity/LivingEntity.java -@@ -3965,6 +3965,7 @@ public abstract class LivingEntity extends Entity implements Attackable { +@@ -3971,6 +3971,7 @@ public abstract class LivingEntity extends Entity implements Attackable { this.level().getCraftServer().getPluginManager().callEvent(event); if (event.isCancelled()) { |