aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2
diff options
context:
space:
mode:
authorJ10a1n15 <45315647+j10a1n15@users.noreply.github.com>2024-03-14 21:03:58 +0100
committerGitHub <noreply@github.com>2024-03-14 21:03:58 +0100
commit849888602b882ba52a0db97aa541a991c132cfe5 (patch)
tree1e9e1ec982ec83a5415b883942b9a3de1efd8eb1 /src/main/java/at/hannibal2
parente0bfda736f6543398ed753e6a4bf24eb7985e94f (diff)
downloadskyhanni-849888602b882ba52a0db97aa541a991c132cfe5.tar.gz
skyhanni-849888602b882ba52a0db97aa541a991c132cfe5.tar.bz2
skyhanni-849888602b882ba52a0db97aa541a991c132cfe5.zip
Fix: Fixed Hypixel Scoreboard never reappearing (#1170)
Diffstat (limited to 'src/main/java/at/hannibal2')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/CustomScoreboard.kt3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/CustomScoreboard.kt b/src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/CustomScoreboard.kt
index e0f260714..96e501d7c 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/CustomScoreboard.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/CustomScoreboard.kt
@@ -132,8 +132,7 @@ class CustomScoreboard {
@SubscribeEvent
fun onRenderScoreboard(event: RenderGameOverlayEvent.Post) {
if (event.type == RenderGameOverlayEvent.ElementType.HELMET) {
- if (isHideVanillaScoreboardEnabled())
- GuiIngameForge.renderObjective = false
+ GuiIngameForge.renderObjective = !isHideVanillaScoreboardEnabled()
}
}