mirror of
https://github.com/GeyserExtensionists/GeyserUtils.git
synced 2025-12-19 14:59:18 +00:00
fix skin disappear
This commit is contained in:
@@ -242,8 +242,9 @@ public class GeyserUtils implements Extension {
|
||||
PlayerSkinPacket packet = new PlayerSkinPacket();
|
||||
packet.setUuid(entity.getUuid());
|
||||
packet.setOldSkinName("");
|
||||
packet.setNewSkinName(skin.getTextureUrl());
|
||||
packet.setSkin(getSkin(skin.getTextureUrl(), skin, cape, geometry));
|
||||
String skinId = skin.getTextureUrl() + UUID.randomUUID().toString().replace("-", "");
|
||||
packet.setNewSkinName(skinId);
|
||||
packet.setSkin(getSkin(skinId, skin, cape, geometry));
|
||||
packet.setTrustedSkin(true);
|
||||
session.sendUpstreamPacket(packet);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user