SPIGOT-7490: Fix entity equipment updates

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot
2023-09-25 07:47:22 +10:00
parent 5692b3f59a
commit 70eb4fdda5
2 changed files with 23 additions and 5 deletions

View File

@@ -117,7 +117,7 @@
if (!list.isEmpty()) {
consumer.accept(new PacketPlayOutEntityEquipment(this.entity.getId(), list));
}
+ ((EntityLiving) this.entity).detectEquipmentUpdates(); // CraftBukkit - SPIGOT-3789: sync again immediately after sending
+ ((EntityLiving) this.entity).detectEquipmentUpdatesPublic(); // CraftBukkit - SPIGOT-3789: sync again immediately after sending
+ }
+
+ // CraftBukkit start - MC-109346: Fix for nonsensical head yaw