Browse Source

realm override

birdbane
FatBoy-DOTC 9 months ago
parent
commit
67a5b1749c
  1. 11
      src/engine/objects/Realm.java

11
src/engine/objects/Realm.java

@ -80,14 +80,19 @@ public class Realm {
this.canBeClaimed = false; this.canBeClaimed = false;
this.canPlaceCities = false; this.canPlaceCities = false;
this.numCities = 0; this.numCities = 0;
this.rulingCityUUID = 0;
this.charterType = 0;
this.realmName = "Plagued Land";
}else { }else {
this.canBeClaimed = rs.getBoolean("canBeClaimed"); 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");
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"); java.sql.Timestamp ruledTimeStamp = rs.getTimestamp("ruledSince");

Loading…
Cancel
Save