diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2024-02-25 07:44:35 +0100 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2024-02-25 07:44:35 +0100 |
commit | cf6339f9cc28e7c78a054d1a490c7625e57882ad (patch) | |
tree | baefdf59f526feb6e9350aa73d8c1da9ad113577 /src/main/java | |
parent | bb462d2578c197f50283989f9e8e6597b303749c (diff) | |
download | skyhanni-cf6339f9cc28e7c78a054d1a490c7625e57882ad.tar.gz skyhanni-cf6339f9cc28e7c78a054d1a490c7625e57882ad.tar.bz2 skyhanni-cf6339f9cc28e7c78a054d1a490c7625e57882ad.zip |
Fixed Compact Tab List' Toggle Tab not working when using patcher.
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/misc/compacttablist/TabListRenderer.kt | 3 |
1 files changed, 2 insertions, 1 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 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) { |