class and table schema now conform to JSON

This commit is contained in:
2023-09-20 16:05:57 -04:00
parent 8289786099
commit be107c0858
20 changed files with 39 additions and 39 deletions
+5 -5
View File
@@ -194,7 +194,7 @@ public enum ZoneManager {
}
if (zone.isGuildZone) {
if (zone.guild_zone) {
addPlayerCityZone(zone);
return;
}
@@ -214,7 +214,7 @@ public enum ZoneManager {
}
public static final void addPlayerCityZone(final Zone zone) {
zone.isGuildZone = true;
zone.guild_zone = true;
ZoneManager.playerCityZones.add(zone);
}
@@ -250,7 +250,7 @@ public enum ZoneManager {
public static final boolean validHotZone(Zone zone) {
if (zone.peaceZone == (byte) 1)
if (zone.peace_zone == (byte) 1)
return false; // no safe zone hotzones// if (this.hotzone == null)
if (zone.getNodes().isEmpty())
@@ -387,7 +387,7 @@ public enum ZoneManager {
currentZone = ZoneManager.findSmallestZone(worldLoc);
if (currentZone.isGuildZone)
if (currentZone.guild_zone)
return City.getCity(currentZone.playerCityUUID);
return null;
@@ -440,7 +440,7 @@ public enum ZoneManager {
//not player city, must be npc city..
if (!zone.isGuildZone)
if (!zone.guild_zone)
zone.isNPCCity = true;
if ((ConfigManager.serverType.equals(Enum.ServerType.WORLDSERVER)) && (city.getHash() == null)) {