Browse Source

Reformat for easier debugging

combat-2
MagicBot 8 months ago
parent
commit
11013bcd07
  1. 5
      src/engine/gameManager/NPCManager.java

5
src/engine/gameManager/NPCManager.java

@ -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;

Loading…
Cancel
Save