From 8dae622260a1e0ff485d6aeb43f75e706a4aa995 Mon Sep 17 00:00:00 2001 From: CalMWolfs <94038482+CalMWolfs@users.noreply.github.com> Date: Thu, 25 Apr 2024 17:00:06 +1000 Subject: Backend: Remove check (#1538) --- .../skyhanni/features/event/chocolatefactory/ChocolateFactoryAPI.kt | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/main/java/at/hannibal2/skyhanni') diff --git a/src/main/java/at/hannibal2/skyhanni/features/event/chocolatefactory/ChocolateFactoryAPI.kt b/src/main/java/at/hannibal2/skyhanni/features/event/chocolatefactory/ChocolateFactoryAPI.kt index 65db25488..af219fd25 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/event/chocolatefactory/ChocolateFactoryAPI.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/event/chocolatefactory/ChocolateFactoryAPI.kt @@ -253,11 +253,8 @@ object ChocolateFactoryAPI { maxRabbits = data.maxRabbits val disabledFeatures = event.getConstant("DisabledFeatures") - HOPPITY_EVENT_DISABLED = disabledFeatures.features["HOPPITY_EVENT_DISABLED"] ?: false } - private var HOPPITY_EVENT_DISABLED = false - private fun List.getUpgradeCost(): Long? { val nextLine = this.nextAfter({ UtilsPatterns.costLinePattern.matches(it) }) ?: return null return chocolateAmountPattern.matchMatcher(nextLine.removeColor()) { @@ -267,6 +264,5 @@ object ChocolateFactoryAPI { fun isEnabled() = LorenzUtils.inSkyBlock && config.enabled - fun isHoppityEvent() = SkyblockSeason.getCurrentSeason() == SkyblockSeason.SPRING && - (LorenzUtils.isOnAlphaServer || !HOPPITY_EVENT_DISABLED) + fun isHoppityEvent() = SkyblockSeason.getCurrentSeason() == SkyblockSeason.SPRING } -- cgit