aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal002@users.noreply.github.com>2024-08-25 23:49:56 +0200
committerGitHub <noreply@github.com>2024-08-25 23:49:56 +0200
commit90e6983f8589d6d2725dcc77bfdd13be92cfc131 (patch)
treeeb5d495fb98adcd1c5b1a911d1c80fcdd29dccd3 /src
parent6abfc744704810b3aaeffb70b85b79c99e2f31ec (diff)
downloadskyhanni-90e6983f8589d6d2725dcc77bfdd13be92cfc131.tar.gz
skyhanni-90e6983f8589d6d2725dcc77bfdd13be92cfc131.tar.bz2
skyhanni-90e6983f8589d6d2725dcc77bfdd13be92cfc131.zip
Fix: Christmas presents (#2396)
Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com>
Diffstat (limited to 'src')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/event/lobby/waypoints/christmas/PresentWaypoints.kt8
1 files changed, 4 insertions, 4 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 64c4171a3..be5408871 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
@@ -37,15 +37,15 @@ object PresentWaypoints {
private val patternGroup = RepoPattern.group("event.lobby.waypoint.presents")
private val presentAlreadyFoundPattern by patternGroup.pattern(
"foundalready",
- "§cYou have already found this present!"
+ "§cYou have already found this present!",
)
private val presentFoundPattern by patternGroup.pattern(
"found",
- "§aYou found a.*present! §r§e\\(§r§b\\d+§r§e/§r§b\\d+§r§e\\)"
+ "§aYou found a.*present! §r§e\\(§r§b\\d+§r§e/§r§b\\d+§r§e\\)",
)
private val allFoundPattern by patternGroup.pattern(
"foundall",
- "§aCongratulations! You found all the presents in every lobby!"
+ "§aCongratulations! You found all the presents in every lobby!",
)
@SubscribeEvent
@@ -125,5 +125,5 @@ object PresentWaypoints {
}
private fun isEnabled(): Boolean =
- LorenzUtils.inHypixelLobby && (config.allWaypoints || config.allEntranceWaypoints && WinterAPI.isDecember())
+ LorenzUtils.inHypixelLobby && (config.allWaypoints || config.allEntranceWaypoints) && WinterAPI.isDecember()
}