From 42967693d0dba6d35e81e7ebbb6cedf7cbdf99b2 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Thu, 3 Aug 2023 19:56:32 -0500 Subject: [PATCH] autoID if value = baseValue --- 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 872568d2..cc5df328 100644 --- a/src/engine/gameManager/LootManager.java +++ b/src/engine/gameManager/LootManager.java @@ -100,7 +100,7 @@ public enum LootManager { chatMsg.setChannel(Enum.ChatChannelType.SYSTEM.getChannelID()); DispatchMessage.dispatchMsgToAll(chatMsg); } - if (it.getEnchants().isEmpty() == true) + if(it.getBaseValue() == it.getItemBase().getBaseValue()) it.setIsID(true); } }