mirror of
https://github.com/Pumpkin-MC/Pumpkin.git
synced 2026-08-30 20:14:23 +00:00
Don't boradcast Equipment Change back to player (#561)
This commit is contained in:
@@ -64,7 +64,10 @@ impl LivingEntity {
|
||||
.world
|
||||
.read()
|
||||
.await
|
||||
.broadcast_packet_all(&CSetEquipment::new(self.entity_id().into(), equipment))
|
||||
.broadcast_packet_except(
|
||||
&[self.entity.entity_uuid],
|
||||
&CSetEquipment::new(self.entity_id().into(), equipment),
|
||||
)
|
||||
.await;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user