Hello everyone, I have a NEWW problem, i want change the skin of a "fake player" (AddPlayerPacket) with "PlayerSkinPacket", I don't understand how it works, I have trying many things without success... PHP: $pk = new PlayerSkinPacket(); $pk->uuid = $uuid; $pk->skin = new Skin("Standard_Custom", /*? HELP ME HERE ?*/);$player->dataPacket($pk);
Problem is now fixed, i have just use a base64 encoding for the SkinData. PHP: $pk = new PlayerSkinPacket();$pk->uuid = $uuid;$pk->skin = new Skin("Standard_Custom", base64_decode(/*SKIN ENCODE BASE64*/));$player->dataPacket($pk);