Browse Source

city serilizing bug

lakebane-strongholds
FatBoy-DOTC 4 months ago
parent
commit
d3e92d6576
  1. 7
      src/engine/objects/City.java

7
src/engine/objects/City.java

@ -289,8 +289,11 @@ public class City extends AbstractWorldObject { @@ -289,8 +289,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);
else

Loading…
Cancel
Save