Browse Source

Not right place for this perhaps

combat-2
MagicBot 7 months ago
parent
commit
1a27a54926
  1. 7
      src/engine/net/client/handlers/ItemProductionMsgHandler.java

7
src/engine/net/client/handlers/ItemProductionMsgHandler.java

@ -381,13 +381,6 @@ public class ItemProductionMsgHandler extends AbstractClientMsgHandler { @@ -381,13 +381,6 @@ public class ItemProductionMsgHandler extends AbstractClientMsgHandler {
workOrder.cooking.remove(targetItem);
ForgeManager.vendorItemLookup.get(workOrder.vendor).remove(targetItem);
// Update workOrder to reflect canceled slot
workOrder.slots_used = workOrder.slots_used - 1;
if (workOrder.slots_used == 0)
workOrder.runCanceled = true;
// Refresh vendor's inventory to client
outMsg = new ManageNPCMsg(vendor);

Loading…
Cancel
Save