fix(wrapper): packets are final

This commit is contained in:
ineanto 2023-06-29 11:13:40 +02:00
parent 02e03794e4
commit 3ec2e7a584

View file

@ -110,8 +110,8 @@ public class AppearanceManager {
} }
public void updateOthers() { public void updateOthers() {
WrapperPlayServerEntityDestroy destroy = new WrapperPlayServerEntityDestroy(); final WrapperPlayServerEntityDestroy destroy = new WrapperPlayServerEntityDestroy();
WrapperPlayServerNamedEntitySpawn spawn = new WrapperPlayServerNamedEntitySpawn(); final WrapperPlayServerNamedEntitySpawn spawn = new WrapperPlayServerNamedEntitySpawn();
destroy.setEntityIds(IntList.of(player.getEntityId())); destroy.setEntityIds(IntList.of(player.getEntityId()));
spawn.setEntityId(player.getEntityId()); spawn.setEntityId(player.getEntityId());
spawn.setLocation(player.getLocation()); spawn.setLocation(player.getLocation());