aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/utils/RenderUtils.kt2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/utils/RenderUtils.kt b/src/main/java/at/hannibal2/skyhanni/utils/RenderUtils.kt
index 830e58ce5..e0abe1ac5 100644
--- a/src/main/java/at/hannibal2/skyhanni/utils/RenderUtils.kt
+++ b/src/main/java/at/hannibal2/skyhanni/utils/RenderUtils.kt
@@ -456,6 +456,7 @@ object RenderUtils {
}
fun Position.renderStrings(list: List<String>, extraSpace: Int = 0, center: Boolean = false) {
+ if (Minecraft.getMinecraft().gameSettings.keyBindPlayerList.isKeyDown) return
if (list.isEmpty()) return
var offsetY = 0
@@ -470,6 +471,7 @@ object RenderUtils {
* Each line is a list of things to print. Can print String or ItemStack objects.
*/
fun Position.renderStringsAndItems(list: List<List<Any>>, extraSpace: Int = 0) {
+ if (Minecraft.getMinecraft().gameSettings.keyBindPlayerList.isKeyDown) return
if (list.isEmpty()) return
var offsetY = 0