Browse Source

Debug strings were removed

combat-2
MagicBot 7 months ago
parent
commit
9804a0fc89
  1. 5
      src/engine/gameManager/ForgeManager.java

5
src/engine/gameManager/ForgeManager.java

@ -58,8 +58,6 @@ public enum ForgeManager implements Runnable {
if (Objects.requireNonNull(workOrder).runCanceled || workOrder.runCompleted) if (Objects.requireNonNull(workOrder).runCanceled || workOrder.runCompleted)
continue; continue;
Logger.info("item forged:" + workOrder.workOrderID + " (" + workOrder.total_produced + "/" + workOrder.total_to_produce + ")");
if (workOrder.total_produced >= workOrder.total_to_produce) { if (workOrder.total_produced >= workOrder.total_to_produce) {
// Complete this workOrder. // Complete this workOrder.
@ -69,7 +67,6 @@ public enum ForgeManager implements Runnable {
DispatchMessage.dispatchMsgToInterestArea(workOrder.vendor, outMsg, mbEnums.DispatchChannel.SECONDARY, 700, false, false); DispatchMessage.dispatchMsgToInterestArea(workOrder.vendor, outMsg, mbEnums.DispatchChannel.SECONDARY, 700, false, false);
} }
Logger.info("workOrder has completed: " + workOrder.workOrderID);
ForgeManager.vendorWorkOrderLookup.get(workOrder.vendor).remove(workOrder); ForgeManager.vendorWorkOrderLookup.get(workOrder.vendor).remove(workOrder);
workOrder.runCompleted = true; workOrder.runCompleted = true;
} }
@ -354,8 +351,6 @@ public enum ForgeManager implements Runnable {
ItemProductionMsg outMsg = new ItemProductionMsg(workOrder.vendor.building, workOrder.vendor, forged_item, mbEnums.ProductionActionType.CONFIRM_PRODUCE, true); ItemProductionMsg outMsg = new ItemProductionMsg(workOrder.vendor.building, workOrder.vendor, forged_item, mbEnums.ProductionActionType.CONFIRM_PRODUCE, true);
DispatchMessage.dispatchMsgToInterestArea(workOrder.vendor, outMsg, mbEnums.DispatchChannel.SECONDARY, 700, false, false); DispatchMessage.dispatchMsgToInterestArea(workOrder.vendor, outMsg, mbEnums.DispatchChannel.SECONDARY, 700, false, false);
Logger.info("Forging item: " + forged_item.objectUUID + " (" + forged_item.templateID + ") " + forged_item.template.item_base_name);
workOrder.total_produced = workOrder.total_produced + 1; workOrder.total_produced = workOrder.total_produced + 1;
} }
} }

Loading…
Cancel
Save