fix incorrect skin layer setting (#100)

This seems to be the right place to send the metadata without interfering with the configuration state

(cherry picked from commit 8c3478beca)
This commit is contained in:
DeidaraMC 2024-01-03 12:41:25 -05:00 committed by Matt Worzala
parent 58b550c5ff
commit a5b21c48fd

View File

@ -282,6 +282,8 @@ public class Player extends LivingEntity implements CommandSender, Localizable,
sendPacket(new SpawnPositionPacket(respawnPoint, 0));
sendPacket(getMetadataPacket());
// Add player to list with spawning skin
PlayerSkin profileSkin = null;
if (playerConnection instanceof PlayerSocketConnection socketConnection) {