fix: reenable metadata on exiting configuration

(cherry picked from commit 3bbdb1f0c9)
This commit is contained in:
mworzala 2024-01-07 15:14:38 -05:00 committed by Matt Worzala
parent 8fafe723ae
commit 6be9ba629e

View File

@ -308,6 +308,8 @@ public class Player extends LivingEntity implements CommandSender, Localizable,
sendPacket(new SpawnPositionPacket(respawnPoint, 0));
// Reenable metadata notifications as we leave the configuration state
metadata.setNotifyAboutChanges(true);
sendPacket(getMetadataPacket());
// Add player to list with spawning skin