|
|
|
@ -27,6 +27,7 @@ import org.pmw.tinylog.Logger;
@@ -27,6 +27,7 @@ import org.pmw.tinylog.Logger;
|
|
|
|
|
|
|
|
|
|
import java.util.ArrayList; |
|
|
|
|
import java.util.HashMap; |
|
|
|
|
import java.util.List; |
|
|
|
|
import java.util.concurrent.ThreadLocalRandom; |
|
|
|
|
|
|
|
|
|
import static engine.math.FastMath.acos; |
|
|
|
@ -522,7 +523,9 @@ public enum NPCManager {
@@ -522,7 +523,9 @@ public enum NPCManager {
|
|
|
|
|
|
|
|
|
|
ArrayList<Item> itemList = new ArrayList<>(); |
|
|
|
|
|
|
|
|
|
for (WorkOrder workOrder : ForgeManager.vendorWorkOrderLookup.get(npc)) |
|
|
|
|
List<WorkOrder> vendorWorkOrders = ForgeManager.vendorWorkOrderLookup.get(npc); |
|
|
|
|
|
|
|
|
|
for (WorkOrder workOrder : vendorWorkOrders) |
|
|
|
|
itemList.addAll(workOrder.cooking); |
|
|
|
|
|
|
|
|
|
return itemList; |
|
|
|
|