From 32ab6ef9c6a05298f681200ce01f8ffa56cabb18 Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Thu, 12 Oct 2023 16:17:24 +0200 Subject: no longer show waypoints in sb --- .../features/mainlobby/halloweenwaypoints/BasketWaypoints.kt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src') diff --git a/src/main/java/at/hannibal2/skyhanni/features/mainlobby/halloweenwaypoints/BasketWaypoints.kt b/src/main/java/at/hannibal2/skyhanni/features/mainlobby/halloweenwaypoints/BasketWaypoints.kt index be32f5a67..1a7165a3b 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/mainlobby/halloweenwaypoints/BasketWaypoints.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/mainlobby/halloweenwaypoints/BasketWaypoints.kt @@ -24,6 +24,9 @@ class BasketWaypoints { if (!config.allWaypoints && !config.allEntranceWaypoints) return if (!isHalloween) return + if (!HypixelData.hypixelLive) return // don't show outside live hypixel network (it's disabled on alpha) + if (LorenzUtils.inSkyBlock) return + val message = event.message if (message.startsWith("§a§lYou found a Candy Basket! §r") || message == "§cYou already found this Candy Basket!") { val basket = Basket.entries.minByOrNull { it.waypoint.distanceSqToPlayer() }!! @@ -57,6 +60,8 @@ class BasketWaypoints { @SubscribeEvent fun onRenderWorld(event: RenderWorldLastEvent) { + if (!HypixelData.hypixelLive) return // don't show outside live hypixel network (it's disabled on alpha) + if (LorenzUtils.inSkyBlock) return if (!isHalloween) return if (config.allWaypoints) { -- cgit