From 849888602b882ba52a0db97aa541a991c132cfe5 Mon Sep 17 00:00:00 2001 From: J10a1n15 <45315647+j10a1n15@users.noreply.github.com> Date: Thu, 14 Mar 2024 21:03:58 +0100 Subject: Fix: Fixed Hypixel Scoreboard never reappearing (#1170) --- .../skyhanni/features/gui/customscoreboard/CustomScoreboard.kt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') 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() } } -- cgit