From d64bd193d8296ff3b129da968d008856e3494d33 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Sat, 20 Apr 2024 12:13:33 -0400 Subject: [PATCH] Item prefix and suffix applied --- src/engine/gameManager/ForgeManager.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/engine/gameManager/ForgeManager.java b/src/engine/gameManager/ForgeManager.java index 85b92d1f..dd09bbde 100644 --- a/src/engine/gameManager/ForgeManager.java +++ b/src/engine/gameManager/ForgeManager.java @@ -276,10 +276,6 @@ public enum ForgeManager implements Runnable { else forgedItem.suffixToken = workOrder.suffixToken; - // Apply Item effects for Prefix and Suffix tokens - - applyItemEffects(forgedItem); - // Forged random rolled items are unidentified until completed if (workOrder.prefixToken == 0 && workOrder.suffixToken == 0) @@ -316,6 +312,10 @@ public enum ForgeManager implements Runnable { Item completedItem = DbManager.ItemQueries.PERSIST(workOrderItem); + // Apply Item effects for Prefix and Suffix tokens + + applyItemEffects(workOrderItem); + // add to the vendor inventory workOrder.vendor.charItemManager.addItemToInventory(completedItem);