{
if(r.getTeleportLoc() == null)
{
r.setTeleportLoc(i.getTeleportCoords());
}
r.FillSpawns(i.getSpawnsInfo());
r.FillDoors(i.getDoors());
}
r.setCoreLoc(r.getReturnLoc());
r.setReturnLoc(player.getLoc());
player.setVar("backCoords", r.getReturnLoc().toXYZString());