Building Management compiled to a single method check

This commit is contained in:
FatBoy committed 2024-06-26 19:27:32 -05:00
1 parent 381139af35
commit 80ccfff635
6 files changed
+55 -79

No files matched your search

+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)