forked from MagicBane/Server
Not yet set when validating.
This commit is contained in:
@@ -137,7 +137,7 @@ public enum ForgeManager implements Runnable {
|
|||||||
|
|
||||||
// Forge must be protected in order to access warehouse.
|
// Forge must be protected in order to access warehouse.
|
||||||
|
|
||||||
if (workOrder.production_cost_total.size() > 1)
|
if (calcProductionCost(workOrder).size() > 1)
|
||||||
if (!workOrder.vendor.building.protectionState.equals(mbEnums.ProtectionState.PROTECTED)) {
|
if (!workOrder.vendor.building.protectionState.equals(mbEnums.ProtectionState.PROTECTED)) {
|
||||||
if (playerCharacter != null)
|
if (playerCharacter != null)
|
||||||
ErrorPopupMsg.sendErrorPopup(playerCharacter, 193); //193: Production denied: This building must be protected to gain access to warehouse
|
ErrorPopupMsg.sendErrorPopup(playerCharacter, 193); //193: Production denied: This building must be protected to gain access to warehouse
|
||||||
|
|||||||
Reference in New Issue
Block a user