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() {
WrapperPlayServerEntityDestroy destroy = new WrapperPlayServerEntityDestroy();
WrapperPlayServerNamedEntitySpawn spawn = new WrapperPlayServerNamedEntitySpawn();
final WrapperPlayServerEntityDestroy destroy = new WrapperPlayServerEntityDestroy();
final WrapperPlayServerNamedEntitySpawn spawn = new WrapperPlayServerNamedEntitySpawn();
destroy.setEntityIds(IntList.of(player.getEntityId()));
spawn.setEntityId(player.getEntityId());
spawn.setLocation(player.getLocation());