aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at
diff options
context:
space:
mode:
authorHiZe_ <superhize@hotmail.com>2023-08-10 18:19:11 +0200
committerGitHub <noreply@github.com>2023-08-10 18:19:11 +0200
commit1b34ba975c32c577dba6f8783aa19903ad8d4c3f (patch)
treef6b52345add41a2126a5639b9839ab54e0d27f1c /src/main/java/at
parent0cd14b889ee2ec9ec58b87208fe4be07b5e8b2fe (diff)
downloadskyhanni-1b34ba975c32c577dba6f8783aa19903ad8d4c3f.tar.gz
skyhanni-1b34ba975c32c577dba6f8783aa19903ad8d4c3f.tar.bz2
skyhanni-1b34ba975c32c577dba6f8783aa19903ad8d4c3f.zip
Removed check of Y coord to see if player is in mist (#374)
Co-authored-by: superhize <superhize@gmail.com>
Diffstat (limited to 'src/main/java/at')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/misc/ghostcounter/GhostCounter.kt3
1 files changed, 1 insertions, 2 deletions
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)) {