Browse Source

realm fix

birdbane
FatBoy-DOTC 10 months ago
parent
commit
af269d6b33
  1. 2
      src/engine/objects/Realm.java

2
src/engine/objects/Realm.java

@ -88,7 +88,7 @@ public class Realm { @@ -88,7 +88,7 @@ public class Realm {
this.canPlaceCities = rs.getBoolean("canPlaceCities");
this.numCities = rs.getInt("numCities");
this.rulingCityUUID = rs.getInt("rulingCityUID");
if (this.rulingCityUUID == 0) {
if (this.rulingCityUUID != 0) {
this.charterType = rs.getInt("charterType");
} else {
this.charterType = 0;

Loading…
Cancel
Save