diff --git a/src/engine/objects/Realm.java b/src/engine/objects/Realm.java index fed8f76e..a78b5e6b 100644 --- a/src/engine/objects/Realm.java +++ b/src/engine/objects/Realm.java @@ -80,14 +80,19 @@ public class Realm { this.canBeClaimed = false; this.canPlaceCities = false; this.numCities = 0; + this.rulingCityUUID = 0; + this.charterType = 0; + this.realmName = "Plagued Land"; }else { this.canBeClaimed = rs.getBoolean("canBeClaimed"); this.canPlaceCities = rs.getBoolean("canPlaceCities"); this.numCities = rs.getInt("numCities"); + this.rulingCityUUID = rs.getInt("rulingCityUID"); + this.charterType = rs.getInt("charterType"); + this.realmName = rs.getString("realmName"); } - this.realmName = rs.getString("realmName"); - this.rulingCityUUID = rs.getInt("rulingCityUID"); - this.charterType = rs.getInt("charterType"); + + java.sql.Timestamp ruledTimeStamp = rs.getTimestamp("ruledSince");