|
|
@ -8,7 +8,6 @@ |
|
|
|
|
|
|
|
|
|
|
|
package engine.loot; |
|
|
|
package engine.loot; |
|
|
|
|
|
|
|
|
|
|
|
import engine.gameManager.ForgeManager; |
|
|
|
|
|
|
|
import engine.mbEnums; |
|
|
|
import engine.mbEnums; |
|
|
|
import engine.objects.Item; |
|
|
|
import engine.objects.Item; |
|
|
|
import engine.objects.NPC; |
|
|
|
import engine.objects.NPC; |
|
|
@ -50,7 +49,6 @@ public class WorkOrder implements Delayed { |
|
|
|
|
|
|
|
|
|
|
|
public WorkOrder(JSONObject jsonWorkOrder) { |
|
|
|
public WorkOrder(JSONObject jsonWorkOrder) { |
|
|
|
|
|
|
|
|
|
|
|
this.workOrderID = ForgeManager.wordOrderCounter.incrementAndGet(); |
|
|
|
|
|
|
|
this.vendor = NPC.getNPC(jsonWorkOrder.getInt("vendor")); |
|
|
|
this.vendor = NPC.getNPC(jsonWorkOrder.getInt("vendor")); |
|
|
|
this.slots_used = jsonWorkOrder.getInt("slots_used"); |
|
|
|
this.slots_used = jsonWorkOrder.getInt("slots_used"); |
|
|
|
this.total_to_produce = jsonWorkOrder.getInt("total_to_produce"); |
|
|
|
this.total_to_produce = jsonWorkOrder.getInt("total_to_produce"); |
|
|
|