Browse Source

realm fix

birdbane
FatBoy-DOTC 8 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 {
this.canPlaceCities = rs.getBoolean("canPlaceCities"); this.canPlaceCities = rs.getBoolean("canPlaceCities");
this.numCities = rs.getInt("numCities"); this.numCities = rs.getInt("numCities");
this.rulingCityUUID = rs.getInt("rulingCityUID"); this.rulingCityUUID = rs.getInt("rulingCityUID");
if (this.rulingCityUUID == 0) { if (this.rulingCityUUID != 0) {
this.charterType = rs.getInt("charterType"); this.charterType = rs.getInt("charterType");
} else { } else {
this.charterType = 0; this.charterType = 0;

Loading…
Cancel
Save