diff --git a/src/engine/objects/City.java b/src/engine/objects/City.java index 4da34f2c..58fa11df 100644 --- a/src/engine/objects/City.java +++ b/src/engine/objects/City.java @@ -295,7 +295,11 @@ public class City extends AbstractWorldObject { else writer.putString(rulingNation.getName()); - writer.putInt(city.getTOL().getRank()); + if(city.getTOL() != null) { + writer.putInt(city.getTOL().getRank()); + }else{ + writer.putInt(-1); + } if (city.isNoobIsle > 0) writer.putInt(1);