From 3ec2e7a584ed242d05286054a824275afbd2de47 Mon Sep 17 00:00:00 2001 From: ineanto Date: Thu, 29 Jun 2023 11:13:40 +0200 Subject: [PATCH] fix(wrapper): packets are final --- .../java/xyz/atnrch/nicko/disguise/AppearanceManager.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/xyz/atnrch/nicko/disguise/AppearanceManager.java b/src/main/java/xyz/atnrch/nicko/disguise/AppearanceManager.java index 8522c8a..2f40ae2 100644 --- a/src/main/java/xyz/atnrch/nicko/disguise/AppearanceManager.java +++ b/src/main/java/xyz/atnrch/nicko/disguise/AppearanceManager.java @@ -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());