diff options
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/config/features/MiscConfig.java | 2 | ||||
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/misc/compacttablist/TabListRenderer.kt | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/MiscConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/MiscConfig.java index fcdc3ef38..9eaa1ec7c 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/MiscConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/MiscConfig.java @@ -573,7 +573,7 @@ public class MiscConfig { public boolean reverseSort = false; @Expose - @ConfigOption(name = "Hide Player Icons", desc = "Hide the icons of player in the tab list.") + @ConfigOption(name = "Hide Player Icons", desc = "Hide the icons/skins of player in the tab list.") @ConfigEditorBoolean public boolean hidePlayerIcons = false; 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 b653bd472..d5cc7f875 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 @@ -105,8 +105,8 @@ object TabListRenderer { for (tabLine in column.lines) { val savedX = middleX - val isEnabled = !config.advancedPlayerList.hidePlayerIcons && !AdvancedPlayerList.ignoreCustomTabList() - if (tabLine.type == TabStringType.PLAYER && isEnabled) { + val hideIcons = config.advancedPlayerList.hidePlayerIcons && !AdvancedPlayerList.ignoreCustomTabList() + if (tabLine.type == TabStringType.PLAYER && !hideIcons) { val playerInfo = tabLine.getInfo() if (playerInfo != null) { minecraft.textureManager.bindTexture(playerInfo.locationSkin) |