Inlined empty getters
This commit is contained in:
1 parent
bf9fdae58b
commit
46b3db033b
58 files changed
+210
-284
No files matched your search
@@ -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