Building Management compiled to a single method check
This commit is contained in:
1 parent
381139af35
commit
80ccfff635
6 files changed
+55
-79
No files matched your search
@@ -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