aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/0891-Broadcast-take-item-packets-with-collector-as-source.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/0891-Broadcast-take-item-packets-with-collector-as-source.patch
parent40a960db45f45f381328a60695e933615475aea8 (diff)
downloadPaper-dfedf79a2fecd80cafabcd82bb2e6dd80e558fc3.tar.gz
Paper-dfedf79a2fecd80cafabcd82bb2e6dd80e558fc3.zip
Correctly cancel consumption of consumable
See: #11534
Diffstat (limited to 'patches/server/0891-Broadcast-take-item-packets-with-collector-as-source.patch')
-rw-r--r--patches/server/0891-Broadcast-take-item-packets-with-collector-as-source.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/patches/server/0891-Broadcast-take-item-packets-with-collector-as-source.patch b/patches/server/0891-Broadcast-take-item-packets-with-collector-as-source.patch
index 1fb19203b6..3c153487e4 100644
--- a/patches/server/0891-Broadcast-take-item-packets-with-collector-as-source.patch
+++ b/patches/server/0891-Broadcast-take-item-packets-with-collector-as-source.patch
@@ -6,7 +6,7 @@ Subject: [PATCH] Broadcast take item packets with collector as source
This fixes players (which can't view the collector) seeing item pickups with themselves as the target.
diff --git a/src/main/java/net/minecraft/world/entity/LivingEntity.java b/src/main/java/net/minecraft/world/entity/LivingEntity.java
-index 24245cfb160dc990b3661388c2f95b9383f98428..09bd6ba5907d42bed08872f18d40d8c743d392ff 100644
+index 2a587683463fb0a0770ab54125868e82c0694ca6..375280dd829eb2f6b98a95228250a3d87a7872cf 100644
--- a/src/main/java/net/minecraft/world/entity/LivingEntity.java
+++ b/src/main/java/net/minecraft/world/entity/LivingEntity.java
@@ -3891,7 +3891,7 @@ public abstract class LivingEntity extends Entity implements Attackable {