aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/1051-Lag-compensation-ticks.patch
diff options
context:
space:
mode:
authorBjarne Koll <[email protected]>2024-10-31 12:44:02 +0100
committerGitHub <[email protected]>2024-10-31 12:44:02 +0100
commitdfedf79a2fecd80cafabcd82bb2e6dd80e558fc3 (patch)
tree5986a5b10f31ce04b6625b9e53f7e776faabbb09 /patches/server/1051-Lag-compensation-ticks.patch
parent40a960db45f45f381328a60695e933615475aea8 (diff)
downloadPaper-dfedf79a2fecd80cafabcd82bb2e6dd80e558fc3.tar.gz
Paper-dfedf79a2fecd80cafabcd82bb2e6dd80e558fc3.zip
Correctly cancel consumption of consumable
See: #11534
Diffstat (limited to 'patches/server/1051-Lag-compensation-ticks.patch')
-rw-r--r--patches/server/1051-Lag-compensation-ticks.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/patches/server/1051-Lag-compensation-ticks.patch b/patches/server/1051-Lag-compensation-ticks.patch
index 61cc0cc048..10fb304c18 100644
--- a/patches/server/1051-Lag-compensation-ticks.patch
+++ b/patches/server/1051-Lag-compensation-ticks.patch
@@ -63,7 +63,7 @@ index 504c996220b278c194c93e001a3b326d549868ec..a96f859a5d0c6ec692d4627a69f3c9ee
if (this.hasDelayedDestroy) {
diff --git a/src/main/java/net/minecraft/world/entity/LivingEntity.java b/src/main/java/net/minecraft/world/entity/LivingEntity.java
-index a7a2306433014f45e2a448ebe125b668cc49b3d1..e3b81e5b2591fde8e15dfd0bee393000dd633096 100644
+index 22bb0aaf3aebdc60a8894dc473cbeb0e58ca37b8..9c61225a728a2ca91a1c71dead75fc7cd93668b6 100644
--- a/src/main/java/net/minecraft/world/entity/LivingEntity.java
+++ b/src/main/java/net/minecraft/world/entity/LivingEntity.java
@@ -4050,6 +4050,10 @@ public abstract class LivingEntity extends Entity implements Attackable {