forked from MagicBane/Server
Inlined empty getters
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.getPlayerCityUUID()).getTOL().getRank() == -1)) {
|
||||
if ((cityZone.isPlayerCity) &&
|
||||
(City.getCity(cityZone.playerCityID).getTOL().getRank() == -1)) {
|
||||
PlaceAssetMsg.sendPlaceAssetError(origin, 1, "Cannot bane a dead tree!");
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user