summaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/features/event
diff options
context:
space:
mode:
authorPhoebe <77941535+catgirlseraid@users.noreply.github.com>2024-05-18 12:29:50 +1200
committerGitHub <noreply@github.com>2024-05-18 02:29:50 +0200
commitfcfd30fc47bc1f0f56d5c1fb5548b9b058cd0e95 (patch)
treeaee8e92ca7920016d809208289d8b83631972949 /src/main/java/at/hannibal2/skyhanni/features/event
parenta28a9a693563151815b4d71014e998fc50ab8a8e (diff)
downloadskyhanni-fcfd30fc47bc1f0f56d5c1fb5548b9b058cd0e95.tar.gz
skyhanni-fcfd30fc47bc1f0f56d5c1fb5548b9b058cd0e95.tar.bz2
skyhanni-fcfd30fc47bc1f0f56d5c1fb5548b9b058cd0e95.zip
Few bug fixes (#1820)
Co-authored-by: SeRaid <77941535+SeRaid743@users.noreply.github.com>
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features/event')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/event/lobby/waypoints/christmas/PresentWaypoints.kt3
1 files changed, 2 insertions, 1 deletions
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())
}