Method to load workorders on bootstrap

This commit is contained in:
MagicBot committed 2024-04-22 15:49:57 -04:00
1 parent 2a2b61bc0f
commit 7300af9073
2 files changed
+11 -3

No files matched your search

+1
View File
@@ -49,6 +49,7 @@ public class WorkOrder implements Delayed {
public WorkOrder(JSONObject jsonWorkOrder) {
this.workOrderID = jsonWorkOrder.getInt("workOrderID");
this.vendor = NPC.getNPC(jsonWorkOrder.getInt("vendor"));
this.slots_used = jsonWorkOrder.getInt("slots_used");
this.total_to_produce = jsonWorkOrder.getInt("total_to_produce");