More workorder loading work

This commit is contained in:
2024-04-22 16:07:25 -04:00
parent 73e30062ea
commit 286a76b1de
2 changed files with 8 additions and 10 deletions
+4
View File
@@ -8,6 +8,7 @@
package engine.loot;
import engine.gameManager.ForgeManager;
import engine.mbEnums;
import engine.objects.Item;
import engine.objects.NPC;
@@ -88,6 +89,9 @@ public class WorkOrder implements Delayed {
for (Object o : tokenList) {
int prefix = tokenList.getInt(0);
int suffix = tokenList.getInt(1);
Item cookingItem = ForgeManager.forgeItem(this);
cookingItem.prefixToken = prefix;
cookingItem.suffixToken = suffix;
}
}