Browse Source

all realms with cities can be claimed, Ecklund allowed to plant in again

birdbane
FatBoy-DOTC 9 months ago
parent
commit
557f89d2e0
  1. 9
      src/engine/objects/Realm.java

9
src/engine/objects/Realm.java

@ -84,9 +84,14 @@ public class Realm {
this.charterType = 0; this.charterType = 0;
this.realmName = "Plagued Land"; this.realmName = "Plagued Land";
} else { } else {
this.canBeClaimed = rs.getBoolean("canBeClaimed");
this.canPlaceCities = rs.getBoolean("canPlaceCities"); this.canPlaceCities = rs.getBoolean("canPlaceCities");
this.numCities = rs.getInt("numCities"); this.numCities = rs.getInt("numCities");
if(this.numCities > 0){
this.canBeClaimed = true;
}else{
this.canBeClaimed = false;
}
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");
@ -123,7 +128,7 @@ public class Realm {
case "adduram": case "adduram":
case "letharuun": case "letharuun":
case "kralgaard": case "kralgaard":
case "ecklund": //case "ecklund":
case "nordenthol": case "nordenthol":
case "thollmar": case "thollmar":
case "haldorn isles": case "haldorn isles":

Loading…
Cancel
Save