diff options
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/misc/compacttablist/TabListRenderer.kt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/misc/compacttablist/TabListRenderer.kt b/src/main/java/at/hannibal2/skyhanni/features/misc/compacttablist/TabListRenderer.kt index a6d61ed6a..afc97d766 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/misc/compacttablist/TabListRenderer.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/misc/compacttablist/TabListRenderer.kt @@ -49,12 +49,12 @@ object TabListRenderer { if (Minecraft.getMinecraft().currentScreen != null) return if (Minecraft.getMinecraft().gameSettings.keyBindPlayerList.isActive()) { - isPressed = true - } else { - if (isPressed) { - isPressed = false + if (!isPressed) { + isPressed = true isTabToggled = !isTabToggled } + } else { + isPressed = false } if (isTabToggled) { |