|
|
|
@ -265,12 +265,12 @@ public enum ForgeManager implements Runnable {
@@ -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; |
|
|
|
|