Method to load workorders on bootstrap

This commit is contained in:
2024-04-22 15:43:13 -04:00
parent 89c3eb4d47
commit 2a2b61bc0f
2 changed files with 19 additions and 2 deletions
-2
View File
@@ -8,7 +8,6 @@
package engine.loot;
import engine.gameManager.ForgeManager;
import engine.mbEnums;
import engine.objects.Item;
import engine.objects.NPC;
@@ -50,7 +49,6 @@ public class WorkOrder implements Delayed {
public WorkOrder(JSONObject jsonWorkOrder) {
this.workOrderID = ForgeManager.wordOrderCounter.incrementAndGet();
this.vendor = NPC.getNPC(jsonWorkOrder.getInt("vendor"));
this.slots_used = jsonWorkOrder.getInt("slots_used");
this.total_to_produce = jsonWorkOrder.getInt("total_to_produce");