forked from MagicBane/Server
Comment added
This commit is contained in:
@@ -103,6 +103,8 @@ public enum ForgeManager implements Runnable {
|
||||
|
||||
workOrder.production_cost = calcProductionCost(workOrder);
|
||||
|
||||
// Set total cost for this production run
|
||||
|
||||
for (mbEnums.ResourceType resourceType : workOrder.production_cost.keySet())
|
||||
workOrder.production_cost.compute(resourceType, (k, resourceValue) -> resourceValue * workOrder.total_to_produce);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user