From 90e6983f8589d6d2725dcc77bfdd13be92cfc131 Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal002@users.noreply.github.com> Date: Sun, 25 Aug 2024 23:49:56 +0200 Subject: Fix: Christmas presents (#2396) Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com> --- .../features/event/lobby/waypoints/christmas/PresentWaypoints.kt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/main/java/at/hannibal2') 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() } -- cgit