From 6ecaa4dc0c110a594e8e35bfcd1bcac6ff8d684f Mon Sep 17 00:00:00 2001 From: MagicBot Date: Fri, 19 Apr 2024 09:07:49 -0400 Subject: [PATCH] Window refresh update --- src/engine/net/client/handlers/ItemProductionMsgHandler.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/engine/net/client/handlers/ItemProductionMsgHandler.java b/src/engine/net/client/handlers/ItemProductionMsgHandler.java index afa3eb39..fc23be25 100644 --- a/src/engine/net/client/handlers/ItemProductionMsgHandler.java +++ b/src/engine/net/client/handlers/ItemProductionMsgHandler.java @@ -128,11 +128,11 @@ public class ItemProductionMsgHandler extends AbstractClientMsgHandler { private static void completeItem(int itemUUID, NPC vendor) { + // Remove virtualItem from collections + Item virtualItem = ForgeManager.inMemoryItemLookup.get(itemUUID); WorkOrder workOrder = ForgeManager.itemWorkOrderLookup.get(virtualItem); - // Remove from collections - workOrder.cooking.remove(virtualItem); ForgeManager.itemWorkOrderLookup.remove(virtualItem);