Browse Source

realm override

birdbane
FatBoy-DOTC 10 months ago
parent
commit
042a292b31
  1. 5
      src/engine/objects/Realm.java

5
src/engine/objects/Realm.java

@ -88,7 +88,11 @@ 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){
this.charterType = rs.getInt("charterType"); this.charterType = rs.getInt("charterType");
}else {
this.charterType = 0;
}
this.realmName = rs.getString("realmName"); this.realmName = rs.getString("realmName");
} }
@ -121,6 +125,7 @@ public class Realm {
case "nordenthol": case "nordenthol":
case "thollmar": case "thollmar":
case "haldorn isles": case "haldorn isles":
case "hregenlund":
return true; return true;
} }
return false; return false;

Loading…
Cancel
Save