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