forked from MagicBane/Server
class and table schema now conform to JSON
This commit is contained in:
@@ -162,8 +162,8 @@ public final class Bane {
|
||||
|
||||
// Cannot place assets on a dead tree
|
||||
|
||||
if ((cityZone.isPlayerCity) &&
|
||||
(City.getCity(cityZone.playerCityID).getTOL().getRank() == -1)) {
|
||||
if ((cityZone.isGuildZone) &&
|
||||
(City.getCity(cityZone.playerCityUUID).getTOL().getRank() == -1)) {
|
||||
PlaceAssetMsg.sendPlaceAssetError(origin, 1, "Cannot bane a dead tree!");
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user