diff options
author | DeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com> | 2022-06-05 18:15:50 +0200 |
---|---|---|
committer | DeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com> | 2022-06-05 18:15:50 +0200 |
commit | da3bf748fb4cca62236922fc35be50133b1bb96a (patch) | |
tree | 49f186fdbdb531f0c6dee618e57ea015da6280d0 /src/main/java/cc/polyfrost | |
parent | e8fbf0ccf9a646dfb97b7b860b7b3f6a65e395c8 (diff) | |
download | OneConfig-da3bf748fb4cca62236922fc35be50133b1bb96a.tar.gz OneConfig-da3bf748fb4cca62236922fc35be50133b1bb96a.tar.bz2 OneConfig-da3bf748fb4cca62236922fc35be50133b1bb96a.zip |
final mistake maybe idk
Diffstat (limited to 'src/main/java/cc/polyfrost')
-rw-r--r-- | src/main/java/cc/polyfrost/oneconfig/hud/TextHud.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/cc/polyfrost/oneconfig/hud/TextHud.java b/src/main/java/cc/polyfrost/oneconfig/hud/TextHud.java index 7c3c70b..29c6d89 100644 --- a/src/main/java/cc/polyfrost/oneconfig/hud/TextHud.java +++ b/src/main/java/cc/polyfrost/oneconfig/hud/TextHud.java @@ -31,7 +31,7 @@ public abstract class TextHud extends BasicHud { width = Math.max(width, UMinecraft.getFontRenderer().getStringWidth(line)); textY += 12 * scale; } - height = (int) ((textY - y) / scale); + height = (int) ((textY - y) / scale - 3); } public abstract List<String> getLines(); |