planting on OB and Mael
This commit is contained in:
@@ -76,10 +76,16 @@ public class Realm {
|
||||
this.mapG = (float) (mapColor.getGreen() * 0.00392156863);
|
||||
this.mapB = (float) (mapColor.getBlue() * 0.00392156863);
|
||||
this.mapA = 1;
|
||||
this.canBeClaimed = rs.getBoolean("canBeClaimed");
|
||||
this.canPlaceCities = rs.getBoolean("canPlaceCities");
|
||||
this.numCities = rs.getInt("numCities");
|
||||
this.realmName = rs.getString("realmName");
|
||||
if(this.realmName.toLowerCase().equals("oblivion") || this.realmName.toLowerCase().equals("maelstrom")){
|
||||
this.canBeClaimed = true;
|
||||
this.canPlaceCities = true;
|
||||
this.numCities = 5;
|
||||
}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");
|
||||
|
||||
@@ -98,6 +104,7 @@ public class Realm {
|
||||
this.locY = rs.getInt("locY");
|
||||
this.realmID = rs.getInt("realmID");
|
||||
this.hash = rs.getString("hash");
|
||||
|
||||
}
|
||||
|
||||
public static void configureAllRealms() {
|
||||
|
||||
Reference in New Issue
Block a user