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

This commit is contained in:
2024-03-24 21:01:36 -05:00
parent 00eceaaa7c
commit 557f89d2e0
+7 -2
View File
@@ -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":