Junk or completion removes slot from workOrder
This commit is contained in:
1 parent
41aefa4a48
commit
27d140f703
2 files changed
+4
-5
No files matched your search
@@ -146,6 +146,8 @@ public class ItemProductionMsgHandler extends AbstractClientMsgHandler {
|
||||
ForgeManager.itemWorkOrderLookup.remove(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 (workOrder.cooking.isEmpty())
|
||||
@@ -395,6 +397,8 @@ public class ItemProductionMsgHandler extends AbstractClientMsgHandler {
|
||||
DbManager.removeFromCache(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 (workOrder.cooking.isEmpty())
|
||||
|
||||
Reference in new issue
Block a user