From 1b34ba975c32c577dba6f8783aa19903ad8d4c3f Mon Sep 17 00:00:00 2001 From: HiZe_ Date: Thu, 10 Aug 2023 18:19:11 +0200 Subject: Removed check of Y coord to see if player is in mist (#374) Co-authored-by: superhize --- .../at/hannibal2/skyhanni/features/misc/ghostcounter/GhostCounter.kt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/main/java/at') diff --git a/src/main/java/at/hannibal2/skyhanni/features/misc/ghostcounter/GhostCounter.kt b/src/main/java/at/hannibal2/skyhanni/features/misc/ghostcounter/GhostCounter.kt index c6bbdab9f..e8e539553 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/misc/ghostcounter/GhostCounter.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/misc/ghostcounter/GhostCounter.kt @@ -292,8 +292,7 @@ object GhostCounter { ) } } - // some area don't show as 'The Mist' in the scoreboard - inMist = Minecraft.getMinecraft().thePlayer.posY <= 110 + inMist = LorenzUtils.skyBlockArea == "The Mist" update() } if (event.repeatSeconds(2)) { -- cgit