forked from MagicBane/Server
class and table schema now conform to JSON
This commit is contained in:
@@ -117,8 +117,8 @@ public class GuildTreeStatusMsg extends ClientNetMsg {
|
||||
city = null;
|
||||
|
||||
if (cityZone != null)
|
||||
if (cityZone.isPlayerCity)
|
||||
city = City.GetCityFromCache(cityZone.playerCityID);
|
||||
if (cityZone.isGuildZone)
|
||||
city = City.GetCityFromCache(cityZone.playerCityUUID);
|
||||
else if (this.treeOfLife != null && this.treeOfLife.getGuild() != null)
|
||||
city = this.treeOfLife.getGuild().getOwnedCity();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user