From 32b5dd3f66777425c8614d3d57eb7ecd5da54fcd Mon Sep 17 00:00:00 2001 From: MagicBot Date: Wed, 9 Aug 2023 07:39:10 -0400 Subject: [PATCH] Bugfix: suffix overwrites prefix. --- src/engine/gameManager/LootManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/gameManager/LootManager.java b/src/engine/gameManager/LootManager.java index 3b42d940..2b757987 100644 --- a/src/engine/gameManager/LootManager.java +++ b/src/engine/gameManager/LootManager.java @@ -255,7 +255,7 @@ public enum LootManager { return inItem; if (suffixMod.action.length() > 0) { - inItem.setPrefix(suffixMod.action); + inItem.setSuffix(suffixMod.action); inItem.addPermanentEnchantment(suffixMod.action, 0, suffixMod.level, true); }