return null;
}
}
prison = new Prison(castle.getId(), iz);
_prisons.put(prison.getCastleId(), prison);
Reflection r = ReflectionManager.getInstance().get(prison.getReflectionId());
r.setReturnLoc(player.getLoc());
for (Player member : player.getParty().getPartyMembers())
{
if (member != player)
{
newQuestState(member, STARTED);
}
member.setReflection(r);
member.teleToLocation(iz.getTeleportCoord());
member.setVar("backCoords", r.getReturnLoc().toXYZString(), -1);
member.setInstanceReuse(iz.getId(), System.currentTimeMillis());
}
player.getParty().setReflection(r);
r.setParty(player.getParty());
r.startCollapseTimer(iz.getTimelimit() * 60 * 1000L);
player.getParty().broadCast(new SystemMessage(SystemMessage.THIS_DUNGEON_WILL_EXPIRE_IN_S1_MINUTES).addNumber(iz.getTimelimit()));
prison.initSpawn(type1[Rnd.get(type1.length)], true);
}
return null;
}