if (player.isDead())
{
sendPacket(new ExShowScreenMessage(NpcString.YOU_CANNOT_TELEPORT_WHILE_YOU_ARE_DEAD, 10000, ExShowScreenMessage.ScreenMessageAlign.TOP_CENTER, false, ExShowScreenMessage.STRING_TYPE, -1, false), new ExCallToChangeClass(_cId, false));
return;
}
player.processQuestEvent("_10338_SeizeYourDestiny", "MemoryOfDisaster", null);
}
else
{
Player player = getClient().getActiveChar();
if (player == null)