}
if (PKrestartPoints.isEmpty())
{
PKrestartPoints = restartPoints;
}
RestartPoint rp = new RestartPoint(name, bbs, msgId, restartPoints, PKrestartPoints);
restartPoint.put(name, rp);
}
}
for (Pair<Territory, Map<Race, String>> ra : restartArea)
{
Map<Race, RestartPoint> restarts = new HashMap<>();
for (Map.Entry<Race, String> e : ra.getValue().entrySet())
{
RestartPoint rp = restartPoint.get(e.getValue());
if (rp == null)
{
throw new RuntimeException("RestartPointParser: restart_loc not found : " + e.getValue() + "!");
}
restarts.put(e.getKey(), rp);