diff --git a/src/engine/gameManager/ForgeManager.java b/src/engine/gameManager/ForgeManager.java index be62558c..de3ac80f 100644 --- a/src/engine/gameManager/ForgeManager.java +++ b/src/engine/gameManager/ForgeManager.java @@ -265,12 +265,12 @@ public enum ForgeManager implements Runnable { // Assign a prefix and suffix to this item if random rolled - if (workOrder.prefixToken == 0) + if (workOrder.prefixToken == 0 && workOrder.vendor.getItemModTable().contains((template.modTable))) forgedItem.prefixToken = calcRandomMod(workOrder.vendor, mbEnums.ItemModType.PREFIX, template.modTable); else forgedItem.prefixToken = workOrder.prefixToken; - if (workOrder.suffixToken == 0) + if (workOrder.suffixToken == 0 && workOrder.vendor.getItemModTable().contains((template.modTable))) forgedItem.suffixToken = calcRandomMod(workOrder.vendor, mbEnums.ItemModType.SUFFIX, template.modTable); else forgedItem.suffixToken = workOrder.suffixToken;