From a2fa12b13c5300251595e4c43b7235a7f9d06284 Mon Sep 17 00:00:00 2001 From: P529 Date: Tue, 14 Nov 2023 00:34:06 +0100 Subject: [PATCH] Update PlayerListHudMixin.java ## Type of change * [x] Bug fix * [ ] New feature ## Description * Fixes compatibility with Future * Would love to update 0.5.4 for the 1.20.1 players # Checklist: * [x] My code follows the style guidelines of this project. * [x] I have added comments to my code in more complex areas. * [x] I have tested the code in both development and production environments. --- .../meteorclient/mixin/PlayerListHudMixin.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/meteordevelopment/meteorclient/mixin/PlayerListHudMixin.java b/src/main/java/meteordevelopment/meteorclient/mixin/PlayerListHudMixin.java index ecb00bd57d..2785dcc781 100644 --- a/src/main/java/meteordevelopment/meteorclient/mixin/PlayerListHudMixin.java +++ b/src/main/java/meteordevelopment/meteorclient/mixin/PlayerListHudMixin.java @@ -42,7 +42,7 @@ private int modifyWidth(int width) { return module.isActive() && module.accurateLatency.get() ? width + 30 : width; } - @ModifyConstant(constant = @Constant(intValue = 20), method = "render") + @ModifyConstant(require = 0, constant = @Constant(intValue = 20), method = "render") private int modifyHeight(int height) { BetterTab module = Modules.get().get(BetterTab.class); return module.isActive() ? module.tabHeight.get() : height;