Hello, I need help, when I try to put a skin geometry on the player is giving that error: "Invalid Skin data size 4096 bytes (Allowed sizes: 8192, 16384, 65536)" I'm using this code: PHP: public function setSkin($player) { $skin = $player->getSkin(); $path = Main::getMainInstance()->getDataFolder() . 'Teste.png'; $img = @imagecreatefrompng($path); $skinbytes = ""; $s = (int)@getimagesize($path)[1]; for($y = 0; $y < $s; $y++) { for($x = 0; $x < 64; $x++) { $colorat = @imagecolorat($img, $x, $y); $a = ((~((int)($colorat >> 24))) << 1) & 0xff; $r = ($colorat >> 16) & 0xff; $g = ($colorat >> 8) & 0xff; $b = $colorat & 0xff; $skinbytes .= chr($r) . chr($g) . chr($b) . chr($a); } } @imagedestroy($img); $player->setSkin(new Skin($skin->getSkinId(), $skinbytes, "", "geometry.rmsp.Teste", file_get_contents(Main::getMainInstance()->getDataFolder() . "geometry.Teste.json"))); $player->sendSkin(); }