diff options
Diffstat (limited to 'patches/server/0926-Broadcast-take-item-packets-with-collector-as-source.patch')
-rw-r--r-- | patches/server/0926-Broadcast-take-item-packets-with-collector-as-source.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/patches/server/0926-Broadcast-take-item-packets-with-collector-as-source.patch b/patches/server/0926-Broadcast-take-item-packets-with-collector-as-source.patch index a1301dea28..ba525debbf 100644 --- a/patches/server/0926-Broadcast-take-item-packets-with-collector-as-source.patch +++ b/patches/server/0926-Broadcast-take-item-packets-with-collector-as-source.patch @@ -6,10 +6,10 @@ 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 a356d0476e6ff9389809e8db1f584ac4bffe8be9..a8b168f56c74feeaca55335731b1d485289736cb 100644 +index d84193a413fbdf76ddb70282d92e6d45b0424384..1784a1881dc7f4b7148abf94bc7d7750c810997b 100644 --- a/src/main/java/net/minecraft/world/entity/LivingEntity.java +++ b/src/main/java/net/minecraft/world/entity/LivingEntity.java -@@ -3708,7 +3708,7 @@ public abstract class LivingEntity extends Entity implements Attackable { +@@ -3714,7 +3714,7 @@ public abstract class LivingEntity extends Entity implements Attackable { public void take(Entity item, int count) { if (!item.isRemoved() && !this.level().isClientSide && (item instanceof ItemEntity || item instanceof AbstractArrow || item instanceof ExperienceOrb)) { |