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
@@ -53,7 +53,7 @@ public class TransferGoldToFromBuildingMsgHandler extends AbstractClientMsgHandl
|
||||
|
||||
if (msg.getDirection() == 2) {
|
||||
|
||||
if (!ManageCityAssetMsgHandler.playerCanManageNotFriends(player, building))
|
||||
if (!BuildingManager.playerCanManage(player, building))
|
||||
return true;
|
||||
if (building.setReserve(msg.getUnknown01(), player)) {
|
||||
dispatch = Dispatch.borrow(player, msg);
|
||||
|
||||
Reference in new issue
Block a user