diff --git a/src/main/kotlin/gg/skytils/skytilsmod/features/impl/dungeons/DungeonChestProfit.kt b/src/main/kotlin/gg/skytils/skytilsmod/features/impl/dungeons/DungeonChestProfit.kt index 3884a2879..dacb07eaa 100644 --- a/src/main/kotlin/gg/skytils/skytilsmod/features/impl/dungeons/DungeonChestProfit.kt +++ b/src/main/kotlin/gg/skytils/skytilsmod/features/impl/dungeons/DungeonChestProfit.kt @@ -170,7 +170,7 @@ object DungeonChestProfit { } else { val unformatted = name.stripControlCodes().replace("Shiny ", "") ItemFeatures.itemIdToNameLookup.entries.find { - it.value == unformatted && !it.value.contains("STARRED") + it.value == unformatted && !it.key.contains("STARRED") }?.key } }