|
|
@ -381,13 +381,6 @@ public class ItemProductionMsgHandler extends AbstractClientMsgHandler { |
|
|
|
workOrder.cooking.remove(targetItem); |
|
|
|
workOrder.cooking.remove(targetItem); |
|
|
|
ForgeManager.vendorItemLookup.get(workOrder.vendor).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
|
|
|
|
// Refresh vendor's inventory to client
|
|
|
|
|
|
|
|
|
|
|
|
outMsg = new ManageNPCMsg(vendor); |
|
|
|
outMsg = new ManageNPCMsg(vendor); |
|
|
|