When i change my sex from npc, then when i login my head is invisible
Here is the problem:
Im using l2jacis
Here is the problem:
Вы не можете просматривать ссылку пожалуйста воспользуйтесь следующими ссылками
Вход или Регистрация
Im using l2jacis
Код:
public static void Sex(L2PcInstance player)
{
if (player.destroyItemByItemId("Consume", Config.DONATE_ITEM, Config.SEX_ITEM_COUNT, player, true))
{
player.getAppearance().setSex(player.getAppearance().getSex() == Sex.MALE ? Sex.FEMALE : Sex.MALE);
player.sendMessage("Your gender has been changed, you will be disconected in 3 Seconds!");
player.broadcastUserInfo();
player.decayMe();
player.spawnMe(player.getX(), player.getY(), player.getZ());
ThreadPool.schedule(() -> player.logout(false), 3000);
}
else
player.sendMessage("You do not have enough Donate Coins.");
}