forked from MagicBane/Server
class and table schema now conform to JSON
This commit is contained in:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user