mirror of
https://github.com/Minestom/Minestom.git
synced 2025-02-01 04:51:29 +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
(cherry picked from commit 8c3478beca
)
This commit is contained in:
parent
58b550c5ff
commit
a5b21c48fd
@ -282,6 +282,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