File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/main/kotlin/gg/skytils/skytilsmod/features/impl/dungeons Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ object DungeonChestProfit {
5353 private val element = DungeonChestProfitElement ()
5454 private var rerollBypass = false
5555 private val essenceRegex = Regex (" §d(?<type>\\ w+) Essence §8x(?<count>\\ d+)" )
56- private val croesusChestRegex = Regex (" ^(Master Mode|The)? Catacombs - Floor (IV|V?I{0,3})$" )
56+ private val croesusChestRegex = Regex (" ^(Master Mode )?The Catacombs - Flo(or (IV|V?I{0,3}))? $" )
5757
5858 @SubscribeEvent
5959 fun onGUIDrawnEvent (event : GuiContainerEvent .ForegroundDrawnEvent ) {
@@ -126,7 +126,7 @@ object DungeonChestProfit {
126126 val stack = event.slot.stack ? : return
127127 if (stack.item == Items .skull) {
128128 val name = stack.displayName
129- if (! (name == " §cThe Catacombs" || name == " §cMaster Mode Catacombs" )) return
129+ if (! (name == " §cThe Catacombs" || name == " §cMaster Mode The Catacombs" )) return
130130 val lore = ItemUtil .getItemLore(stack)
131131 event.slot highlight when {
132132 lore.any { line -> line == " §aNo more Chests to open!" } -> {
@@ -325,4 +325,4 @@ object DungeonChestProfit {
325325 Skytils .guiManager.registerElement(this )
326326 }
327327 }
328- }
328+ }
You can’t perform that action at this time.
0 commit comments