Method to load workorders on bootstrap
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user