aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/0518-Fix-PlayerItemConsumeEvent-cancelling-properly.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/server/0518-Fix-PlayerItemConsumeEvent-cancelling-properly.patch')
-rw-r--r--patches/server/0518-Fix-PlayerItemConsumeEvent-cancelling-properly.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/patches/server/0518-Fix-PlayerItemConsumeEvent-cancelling-properly.patch b/patches/server/0518-Fix-PlayerItemConsumeEvent-cancelling-properly.patch
index 396ac14488..2f802d4685 100644
--- a/patches/server/0518-Fix-PlayerItemConsumeEvent-cancelling-properly.patch
+++ b/patches/server/0518-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 533b020ab103bf353be21ccc95954f8e827a89c6..bf5f8756555cc92d5b0a426400bf8fe8a834e96a 100644
+index cff15c86d693835eb85272efcdeeef778cbd6c8d..9c8e7dfef41f2559de77b79a93fbb3da827ec4fa 100644
--- a/src/main/java/net/minecraft/world/entity/LivingEntity.java
+++ b/src/main/java/net/minecraft/world/entity/LivingEntity.java
-@@ -3971,6 +3971,7 @@ public abstract class LivingEntity extends Entity implements Attackable {
+@@ -3961,6 +3961,7 @@ public abstract class LivingEntity extends Entity implements Attackable {
this.level().getCraftServer().getPluginManager().callEvent(event);
if (event.isCancelled()) {