diff options
author | CalMWolfs <94038482+CalMWolfs@users.noreply.github.com> | 2024-04-25 17:00:06 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-25 09:00:06 +0200 |
commit | 8dae622260a1e0ff485d6aeb43f75e706a4aa995 (patch) | |
tree | 1c81a22f567c02dcbf6fe08fb4425c0d43ee1ac0 /src/main/java/at | |
parent | 3d2e244b69dd26977eef2187cc90ed9289c4735d (diff) | |
download | skyhanni-8dae622260a1e0ff485d6aeb43f75e706a4aa995.tar.gz skyhanni-8dae622260a1e0ff485d6aeb43f75e706a4aa995.tar.bz2 skyhanni-8dae622260a1e0ff485d6aeb43f75e706a4aa995.zip |
Backend: Remove check (#1538)
Diffstat (limited to 'src/main/java/at')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/event/chocolatefactory/ChocolateFactoryAPI.kt | 6 |
1 files changed, 1 insertions, 5 deletions
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<DisabledFeaturesJson>("DisabledFeatures") - HOPPITY_EVENT_DISABLED = disabledFeatures.features["HOPPITY_EVENT_DISABLED"] ?: false } - private var HOPPITY_EVENT_DISABLED = false - private fun List<String>.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 } |