/** {@inheritDoc} */ @Override public void disposeResources() { // Orphan the units whose home settlement this is. while (!ownedUnits.isEmpty()) { ownedUnits.remove(0).setHomeIndianSettlement(null); } super.disposeResources(); }