aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/event/chocolatefactory/ChocolateFactoryAPI.kt6
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
}