null city bug
This commit is contained in:
@@ -382,6 +382,12 @@ public class City extends AbstractWorldObject {
|
||||
if (ago.getObjectType().equals(GameObjectType.City)) {
|
||||
City city = (City) ago;
|
||||
|
||||
if(city == null)
|
||||
continue;
|
||||
|
||||
if(city.getTOL() != null && city.getTOL().getRank() < 0)
|
||||
continue;
|
||||
|
||||
if (city.noTeleport)
|
||||
continue;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user