diff options
Diffstat (limited to 'src')
3 files changed, 6 insertions, 4 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/chat/ChatFilter.kt b/src/main/java/at/hannibal2/skyhanni/features/chat/ChatFilter.kt index d59891902..c02a769e5 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/chat/ChatFilter.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/chat/ChatFilter.kt @@ -352,7 +352,8 @@ class ChatFilter { private val factoryUpgradePatterns = listOf( "§.* §r§7has been promoted to §r§7\\[.*§r§7] §r§.*§r§7!".toPattern(), "§7Your §r§aRabbit Barn §r§7capacity has been increased to §r§a.* Rabbits§r§7!".toPattern(), - "§7You will now produce §r§6.* Chocolate §r§7per click!".toPattern() + "§7You will now produce §r§6.* Chocolate §r§7per click!".toPattern(), + "§7You upgraded to §r§d.*?§r§7!".toPattern(), ) private val powderMiningMessages = listOf( "§aYou uncovered a treasure chest!", diff --git a/src/main/java/at/hannibal2/skyhanni/features/event/lobby/waypoints/christmas/PresentWaypoints.kt b/src/main/java/at/hannibal2/skyhanni/features/event/lobby/waypoints/christmas/PresentWaypoints.kt index 97da18d3c..2b0d9d72f 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/event/lobby/waypoints/christmas/PresentWaypoints.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/event/lobby/waypoints/christmas/PresentWaypoints.kt @@ -2,6 +2,7 @@ package at.hannibal2.skyhanni.features.event.lobby.waypoints.christmas import at.hannibal2.skyhanni.SkyHanniMod import at.hannibal2.skyhanni.data.HypixelData +import at.hannibal2.skyhanni.data.WinterAPI import at.hannibal2.skyhanni.data.jsonobjects.repo.EventWaypointsJson import at.hannibal2.skyhanni.events.LorenzChatEvent import at.hannibal2.skyhanni.events.LorenzRenderWorldEvent @@ -123,5 +124,5 @@ class PresentWaypoints { } private fun isEnabled(): Boolean = - LorenzUtils.inHypixelLobby && (config.allWaypoints || config.allEntranceWaypoints) + LorenzUtils.inHypixelLobby && (config.allWaypoints || config.allEntranceWaypoints && WinterAPI.isDecember()) } diff --git a/src/main/java/at/hannibal2/skyhanni/features/inventory/HideNotClickableItems.kt b/src/main/java/at/hannibal2/skyhanni/features/inventory/HideNotClickableItems.kt index 5fcaf580b..c250396b9 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/inventory/HideNotClickableItems.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/inventory/HideNotClickableItems.kt @@ -135,7 +135,7 @@ class HideNotClickableItems { ChatUtils.error("No hide reason for not clickable item!") } else { event.toolTip.add("§c$hideReason") - if (config.itemsBypass) { + if (config.itemsBypass && !hideReason.contains("SkyBlock Menu")) { event.toolTip.add(" §7(Bypass by holding the ${KeyboardManager.getModifierKeyName()} key)") } } @@ -440,7 +440,7 @@ class HideNotClickableItems { return true } - if (stack.cleanName() == "Green Candy" || stack.cleanName() == "Purple Candy") return false + if (stack.cleanName() == "Green Candy" || stack.cleanName() == "Purple Candy" || stack.cleanName() == "Dark Candy") return false hideReason = "This item is not a spooky candy!" return true |