{
_doors = new HashIntObjectMap<>(doors.size());
}
for (InstantZone.DoorInfo info : doors.values())
{
DoorInstance door = new DoorInstance(IdFactory.getInstance().getNextId(), info.getTemplate());
door.setReflection(this);
door.setIsInvul(info.isInvul());
door.spawnMe(info.getTemplate().getLoc());
if (info.isOpened())
{
door.openMe();
}
_doors.put(info.getTemplate().getNpcId(), door);
}
initDoors();
if (!zones.isEmpty())