fix(wrapper): refactor spawn packet sending method
This commit is contained in:
parent
1fc7a00ec7
commit
26cccce9a8
1 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,7 @@ public class WrapperEntity implements Tickable {
|
|||
|
||||
if (this instanceof WrapperLivingEntity) {
|
||||
WrapperLivingEntity wrapperLivingEntity = (WrapperLivingEntity) this;
|
||||
wrapperLivingEntity.createSpawnPackets().forEach(packetWrapper -> sendPacket(uuid, packetWrapper));
|
||||
wrapperLivingEntity.createSpawnPackets().forEach(this::sendPacketsToViewers);
|
||||
}
|
||||
|
||||
this.parent = parent;
|
||||
|
|
Loading…
Reference in a new issue