From 557f89d2e029c5a7beb6b5fd2562cfe079fcf9d4 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Sun, 24 Mar 2024 21:01:36 -0500 Subject: [PATCH] all realms with cities can be claimed, Ecklund allowed to plant in again --- src/engine/objects/Realm.java | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/engine/objects/Realm.java b/src/engine/objects/Realm.java index 54039780..2256562b 100644 --- a/src/engine/objects/Realm.java +++ b/src/engine/objects/Realm.java @@ -84,9 +84,14 @@ public class Realm { this.charterType = 0; this.realmName = "Plagued Land"; } else { - this.canBeClaimed = rs.getBoolean("canBeClaimed"); + this.canPlaceCities = rs.getBoolean("canPlaceCities"); this.numCities = rs.getInt("numCities"); + if(this.numCities > 0){ + this.canBeClaimed = true; + }else{ + this.canBeClaimed = false; + } this.rulingCityUUID = rs.getInt("rulingCityUID"); if (this.rulingCityUUID != 0) { this.charterType = rs.getInt("charterType"); @@ -123,7 +128,7 @@ public class Realm { case "adduram": case "letharuun": case "kralgaard": - case "ecklund": + //case "ecklund": case "nordenthol": case "thollmar": case "haldorn isles":