diff --git a/src/engine/gameManager/NPCManager.java b/src/engine/gameManager/NPCManager.java index fa462105..3a501936 100644 --- a/src/engine/gameManager/NPCManager.java +++ b/src/engine/gameManager/NPCManager.java @@ -525,6 +525,9 @@ public enum NPCManager { ConcurrentHashMap.KeySetView vendorWorkOrders = ForgeManager.vendorWorkOrderLookup.get(npc); + if (vendorWorkOrders == null) + return itemList; + for (WorkOrder workOrder : vendorWorkOrders) itemList.addAll(workOrder.cooking);