#How to update texture change NMS for the player itself
1 messages · Page 1 of 1 (latest)
Then I’m using hide and show to refresh the skin for the player
But it doesn’t refresh it for the player himself
Only for his surroundings
Probably not possible.
How would I make that work
atleast wasn't in 1.8
I’m talking version 1.19.2
CraftPlayer src = (CraftPlayer) source;
CraftPlayer trgt = (CraftPlayer) targetSkin;
src.getHandle().getGameProfile().getProperties().removeAll("textures");
src.getHandle().getGameProfile().getProperties().putAll("textures", trgt.getProfile().getProperties().get("textures"));
src.hidePlayer(Utils.plugin, src);
src.showPlayer(Utils.plugin, src);
}``` @ember epoch that is all I've got currently