diff options
Diffstat (limited to 'patches/server/0740-Hide-unnecessary-itemmeta-from-clients.patch')
-rw-r--r-- | patches/server/0740-Hide-unnecessary-itemmeta-from-clients.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/patches/server/0740-Hide-unnecessary-itemmeta-from-clients.patch b/patches/server/0740-Hide-unnecessary-itemmeta-from-clients.patch index b8d245796b..fa21cf9e34 100644 --- a/patches/server/0740-Hide-unnecessary-itemmeta-from-clients.patch +++ b/patches/server/0740-Hide-unnecessary-itemmeta-from-clients.patch @@ -33,10 +33,10 @@ index 674b57f31b15a47054c4b07093ab43294a289171..6297f05bdaaa53cfab2ef019e2d30622 } } diff --git a/src/main/java/net/minecraft/world/entity/LivingEntity.java b/src/main/java/net/minecraft/world/entity/LivingEntity.java -index fa26a234c999d4353a0287988a47440508d3783f..0ebb1e0ea091a6a0334f8c53f8ed11d5944d3670 100644 +index 3161b5da8bd4045123ee067ffc693165507a02ea..5287ff8b30a6d27ca05241695a6c99e868a5aa36 100644 --- a/src/main/java/net/minecraft/world/entity/LivingEntity.java +++ b/src/main/java/net/minecraft/world/entity/LivingEntity.java -@@ -3166,7 +3166,7 @@ public abstract class LivingEntity extends Entity implements Attackable { +@@ -3169,7 +3169,7 @@ public abstract class LivingEntity extends Entity implements Attackable { // Paper start - prevent oversized data ItemStack toSend = sanitizeItemStack(itemstack1, true); @@ -45,7 +45,7 @@ index fa26a234c999d4353a0287988a47440508d3783f..0ebb1e0ea091a6a0334f8c53f8ed11d5 // Paper end switch (enumitemslot.getType()) { case HAND: -@@ -3180,6 +3180,70 @@ public abstract class LivingEntity extends Entity implements Attackable { +@@ -3183,6 +3183,70 @@ public abstract class LivingEntity extends Entity implements Attackable { ((ServerLevel) this.level()).getChunkSource().broadcast(this, new ClientboundSetEquipmentPacket(this.getId(), list)); } |