|
|
@ -128,11 +128,11 @@ public class ItemProductionMsgHandler extends AbstractClientMsgHandler { |
|
|
|
|
|
|
|
|
|
|
|
private static void completeItem(int itemUUID, NPC vendor) { |
|
|
|
private static void completeItem(int itemUUID, NPC vendor) { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Remove virtualItem from collections
|
|
|
|
|
|
|
|
|
|
|
|
Item virtualItem = ForgeManager.inMemoryItemLookup.get(itemUUID); |
|
|
|
Item virtualItem = ForgeManager.inMemoryItemLookup.get(itemUUID); |
|
|
|
WorkOrder workOrder = ForgeManager.itemWorkOrderLookup.get(virtualItem); |
|
|
|
WorkOrder workOrder = ForgeManager.itemWorkOrderLookup.get(virtualItem); |
|
|
|
|
|
|
|
|
|
|
|
// Remove from collections
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
workOrder.cooking.remove(virtualItem); |
|
|
|
workOrder.cooking.remove(virtualItem); |
|
|
|
ForgeManager.itemWorkOrderLookup.remove(virtualItem); |
|
|
|
ForgeManager.itemWorkOrderLookup.remove(virtualItem); |
|
|
|
|
|
|
|
|
|
|
|