aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/0739-Prevent-sending-oversized-item-data-in-equipment-and.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/server/0739-Prevent-sending-oversized-item-data-in-equipment-and.patch')
-rw-r--r--patches/server/0739-Prevent-sending-oversized-item-data-in-equipment-and.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/patches/server/0739-Prevent-sending-oversized-item-data-in-equipment-and.patch b/patches/server/0739-Prevent-sending-oversized-item-data-in-equipment-and.patch
index 828af582ef..92abda7e55 100644
--- a/patches/server/0739-Prevent-sending-oversized-item-data-in-equipment-and.patch
+++ b/patches/server/0739-Prevent-sending-oversized-item-data-in-equipment-and.patch
@@ -34,10 +34,10 @@ index 09f6948a52721b27ccd7c761a7efd09bfd7a183c..71a8812365503d840f6702a21d504a37
}
diff --git a/src/main/java/net/minecraft/world/entity/LivingEntity.java b/src/main/java/net/minecraft/world/entity/LivingEntity.java
-index 6a6ec6419dbbdd6dabb6dd5697f3139924b1fd78..fa26a234c999d4353a0287988a47440508d3783f 100644
+index 70cdcc7508998ef1b107f60c619c3d521dadd124..3161b5da8bd4045123ee067ffc693165507a02ea 100644
--- a/src/main/java/net/minecraft/world/entity/LivingEntity.java
+++ b/src/main/java/net/minecraft/world/entity/LivingEntity.java
-@@ -3164,7 +3164,10 @@ public abstract class LivingEntity extends Entity implements Attackable {
+@@ -3167,7 +3167,10 @@ public abstract class LivingEntity extends Entity implements Attackable {
equipmentChanges.forEach((enumitemslot, itemstack) -> {
ItemStack itemstack1 = itemstack.copy();
@@ -49,7 +49,7 @@ index 6a6ec6419dbbdd6dabb6dd5697f3139924b1fd78..fa26a234c999d4353a0287988a474405
switch (enumitemslot.getType()) {
case HAND:
this.setLastHandItem(enumitemslot, itemstack1);
-@@ -3177,6 +3180,34 @@ public abstract class LivingEntity extends Entity implements Attackable {
+@@ -3180,6 +3183,34 @@ public abstract class LivingEntity extends Entity implements Attackable {
((ServerLevel) this.level()).getChunkSource().broadcast(this, new ClientboundSetEquipmentPacket(this.getId(), list));
}