Browse Source

autoID if value = baseValue

master
FatBoy-DOTC 1 year ago
parent
commit
42967693d0
  1. 2
      src/engine/gameManager/LootManager.java

2
src/engine/gameManager/LootManager.java

@ -100,7 +100,7 @@ public enum LootManager { @@ -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);
}
}

Loading…
Cancel
Save