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