realm override

This commit is contained in:
2024-02-24 20:36:23 -06:00
parent 67a5b1749c
commit 042a292b31
+6 -1
View File
@@ -88,7 +88,11 @@ public class Realm {
this.canPlaceCities = rs.getBoolean("canPlaceCities");
this.numCities = rs.getInt("numCities");
this.rulingCityUUID = rs.getInt("rulingCityUID");
this.charterType = rs.getInt("charterType");
if(this.rulingCityUUID == 0){
this.charterType = rs.getInt("charterType");
}else {
this.charterType = 0;
}
this.realmName = rs.getString("realmName");
}
@@ -121,6 +125,7 @@ public class Realm {
case "nordenthol":
case "thollmar":
case "haldorn isles":
case "hregenlund":
return true;
}
return false;