From cf6339f9cc28e7c78a054d1a490c7625e57882ad Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Sun, 25 Feb 2024 07:44:35 +0100 Subject: Fixed Compact Tab List' Toggle Tab not working when using patcher. --- .../hannibal2/skyhanni/features/misc/compacttablist/TabListRenderer.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 bb5193074..a6d61ed6a 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 @@ -5,6 +5,7 @@ import at.hannibal2.skyhanni.events.GuiRenderEvent import at.hannibal2.skyhanni.events.SkipTabListLineEvent import at.hannibal2.skyhanni.mixins.transformers.AccessorGuiPlayerTabOverlay import at.hannibal2.skyhanni.utils.CollectionUtils.filterToMutable +import at.hannibal2.skyhanni.utils.KeyboardManager.isActive import at.hannibal2.skyhanni.utils.LorenzUtils import at.hannibal2.skyhanni.utils.StringUtils.matches import at.hannibal2.skyhanni.utils.repopatterns.RepoPattern @@ -47,7 +48,7 @@ object TabListRenderer { if (!config.toggleTab) return if (Minecraft.getMinecraft().currentScreen != null) return - if (Minecraft.getMinecraft().gameSettings.keyBindPlayerList.isPressed) { + if (Minecraft.getMinecraft().gameSettings.keyBindPlayerList.isActive()) { isPressed = true } else { if (isPressed) { -- cgit