|
|
|
@ -87,8 +87,8 @@ public class WorkOrder implements Delayed {
@@ -87,8 +87,8 @@ public class WorkOrder implements Delayed {
|
|
|
|
|
JSONArray tokenList = jsonWorkOrder.getJSONArray("cookingTokens"); |
|
|
|
|
|
|
|
|
|
for (Object o : tokenList) { |
|
|
|
|
int prefix = tokenList.getInt(0); |
|
|
|
|
int suffix = tokenList.getInt(1); |
|
|
|
|
int prefix = ((JSONArray) o).getInt(0); |
|
|
|
|
int suffix = ((JSONArray) o).getInt(1); |
|
|
|
|
Item cookingItem = ForgeManager.forgeItem(this); |
|
|
|
|
cookingItem.prefixToken = prefix; |
|
|
|
|
cookingItem.suffixToken = suffix; |
|
|
|
|