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