forked from MagicBane/Server
Building Management compiled to a single method check
This commit is contained in:
@@ -1447,7 +1447,7 @@ public class Building extends AbstractWorldObject {
|
||||
|
||||
public synchronized boolean setReserve(int amount, PlayerCharacter player) {
|
||||
|
||||
if (!BuildingManager.playerCanManageNotFriends(player, this))
|
||||
if (!BuildingManager.playerCanManage(player, this))
|
||||
return false;
|
||||
|
||||
if (amount < 0)
|
||||
|
||||
Reference in New Issue
Block a user