From 9c146fff4dc9f28971535dc39e5d0b22b69bc423 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Sat, 13 Apr 2024 10:01:35 -0400 Subject: [PATCH] Only random rolled items are unidentified. --- src/engine/gameManager/ForgeManager.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/engine/gameManager/ForgeManager.java b/src/engine/gameManager/ForgeManager.java index 1ca9146d..32c39b04 100644 --- a/src/engine/gameManager/ForgeManager.java +++ b/src/engine/gameManager/ForgeManager.java @@ -254,9 +254,10 @@ public enum ForgeManager implements Runnable { forgedItem.ownerID = workOrder.vendor.getObjectUUID(); forgedItem.setDateToUpgrade(workOrder.completionTime); - // Forged items are unidentified until completed + // Forged random rolled items are unidentified until completed - forgedItem.flags.remove(mbEnums.ItemFlags.Identified); + if (workOrder.prefixToken == 0 && workOrder.suffixToken == 0) + forgedItem.flags.remove(mbEnums.ItemFlags.Identified); return forgedItem; }