/** {@inheritDoc} */ @Override protected void readChildren(FreeColXMLReader xr) throws XMLStreamException { // Clear containers. contactLevels.clear(); alarm.clear(); missionary = null; ownedUnits.clear(); super.readChildren(xr); // @compat 0.10.1 for (Unit u : getUnitList()) { if (u.getLocation() != this) { u.setLocationNoUpdate(this); logger.warning("Fixing unit location" + " from " + u.getLocation() + " to " + this.getId()); } } // end @compat }