Building Management compiled to a single method check

This commit is contained in:
2024-06-26 19:27:32 -05:00
parent 381139af35
commit 80ccfff635
6 changed files with 55 additions and 79 deletions
+1 -1
View File
@@ -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)