|
|
@ -146,6 +146,8 @@ public class ItemProductionMsgHandler extends AbstractClientMsgHandler { |
|
|
|
ForgeManager.itemWorkOrderLookup.remove(virtualItem); |
|
|
|
ForgeManager.itemWorkOrderLookup.remove(virtualItem); |
|
|
|
DbManager.removeFromCache(virtualItem); |
|
|
|
DbManager.removeFromCache(virtualItem); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
workOrder.slots_used = workOrder.slots_used - 1; |
|
|
|
|
|
|
|
|
|
|
|
// If this is the last item then remove the workOrder from the game
|
|
|
|
// If this is the last item then remove the workOrder from the game
|
|
|
|
|
|
|
|
|
|
|
|
if (workOrder.cooking.isEmpty()) |
|
|
|
if (workOrder.cooking.isEmpty()) |
|
|
@ -395,6 +397,8 @@ public class ItemProductionMsgHandler extends AbstractClientMsgHandler { |
|
|
|
DbManager.removeFromCache(virtualItem); |
|
|
|
DbManager.removeFromCache(virtualItem); |
|
|
|
ForgeManager.itemWorkOrderLookup.remove(virtualItem); |
|
|
|
ForgeManager.itemWorkOrderLookup.remove(virtualItem); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
workOrder.slots_used = workOrder.slots_used - 1; |
|
|
|
|
|
|
|
|
|
|
|
// If this is the last item then remove the workOrder from the game
|
|
|
|
// If this is the last item then remove the workOrder from the game
|
|
|
|
|
|
|
|
|
|
|
|
if (workOrder.cooking.isEmpty()) |
|
|
|
if (workOrder.cooking.isEmpty()) |
|
|
|