null city bug
This commit is contained in:
1 parent
aba82616df
commit
43072786b1
1 file changed
+6
@@ -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