Hello. I need help. I am creating human with skins. Skins changing with task. It sometimes cause players disconnect. No error but it is closing game. When it changing skins or when i am creating human with skins, my game usually closing. Please help me, how can i fix this.
Yes. Skin changing but my game is closing. And i can see new changed skin on when i am again join the game. What is the problem i dont know.
PHP: $entity->setSkin(new Skin($this->player->getSkin()->getSkinId(), Utils::getTextureFromFile(Main::getInstance()->getDataFolder() . "Skinler/xEmirhanWSD.png"), "", "", ""));$entity->sendSkin();