}
final SimpleSpawner spawn = new SimpleSpawner(template);
spawn.setLoc(activeChar.getLoc());
final NpcInstance npc = spawn.doSpawn(false);
npc.setTitle(activeChar.getName());
spawn.respawnNpc(npc);
if (itemId == 5561)
{
npc.setAI(new ctreeAI(npc));
}
ThreadPoolManager.getInstance().schedule(new DeSpawnScheduleTimerTask(spawn), (activeChar.isInPeaceZone() ? DESPAWN_TIME / 3 : DESPAWN_TIME));