mirror of
https://github.com/Minestom/Minestom.git
synced 2025-03-12 14:49:11 +01:00
fix incorrect skin layer setting (#100)
This seems to be the right place to send the metadata without interfering with the configuration state
This commit is contained in:
parent
89a665fdf5
commit
8c3478beca
@ -283,6 +283,8 @@ public class Player extends LivingEntity implements CommandSender, Localizable,
|
|||||||
|
|
||||||
sendPacket(new SpawnPositionPacket(respawnPoint, 0));
|
sendPacket(new SpawnPositionPacket(respawnPoint, 0));
|
||||||
|
|
||||||
|
sendPacket(getMetadataPacket());
|
||||||
|
|
||||||
// Add player to list with spawning skin
|
// Add player to list with spawning skin
|
||||||
PlayerSkin profileSkin = null;
|
PlayerSkin profileSkin = null;
|
||||||
if (playerConnection instanceof PlayerSocketConnection socketConnection) {
|
if (playerConnection instanceof PlayerSocketConnection socketConnection) {
|
||||||
|
Loading…
Reference in New Issue
Block a user