From af269d6b330cac430880df4724c18697af7c2322 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Tue, 5 Mar 2024 19:46:55 -0600 Subject: [PATCH] realm fix --- src/engine/objects/Realm.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/objects/Realm.java b/src/engine/objects/Realm.java index 2a9511b4..54039780 100644 --- a/src/engine/objects/Realm.java +++ b/src/engine/objects/Realm.java @@ -88,7 +88,7 @@ public class Realm { this.canPlaceCities = rs.getBoolean("canPlaceCities"); this.numCities = rs.getInt("numCities"); this.rulingCityUUID = rs.getInt("rulingCityUID"); - if (this.rulingCityUUID == 0) { + if (this.rulingCityUUID != 0) { this.charterType = rs.getInt("charterType"); } else { this.charterType = 0;