new maintenance completed
This commit is contained in:
@@ -54,7 +54,7 @@ public enum MaintenanceManager {
|
|||||||
for (AbstractGameObject ago : worldCities.values()) {
|
for (AbstractGameObject ago : worldCities.values()) {
|
||||||
if (ago.getObjectType().equals(Enum.GameObjectType.City)) {
|
if (ago.getObjectType().equals(Enum.GameObjectType.City)) {
|
||||||
City city = (City) ago;
|
City city = (City) ago;
|
||||||
if(city == null)
|
if(city == null || city.getIsNpcOwned() == 1)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
Building tol = city.getTOL();
|
Building tol = city.getTOL();
|
||||||
|
|||||||
Reference in New Issue
Block a user