From 6be9ba629e676edadf7ff81fff0b0b2aa772a34f Mon Sep 17 00:00:00 2001 From: mworzala Date: Sun, 7 Jan 2024 15:14:38 -0500 Subject: [PATCH] fix: reenable metadata on exiting configuration (cherry picked from commit 3bbdb1f0c9da839ab4b865f512c5822050d0d183) --- src/main/java/net/minestom/server/entity/Player.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/net/minestom/server/entity/Player.java b/src/main/java/net/minestom/server/entity/Player.java index 5b2886ae1..c95f6137a 100644 --- a/src/main/java/net/minestom/server/entity/Player.java +++ b/src/main/java/net/minestom/server/entity/Player.java @@ -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