From c1770318e46fee379e6139092b4b32a558370a8a Mon Sep 17 00:00:00 2001 From: wbc3467-spec Date: Thu, 4 Dec 2025 18:46:05 +0000 Subject: [PATCH] Bug Fix: positioning of Hud rendering doesnt match the skin position in the texture file --- src/main/java/net/torocraft/torohealth/display/Hud.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/net/torocraft/torohealth/display/Hud.java b/src/main/java/net/torocraft/torohealth/display/Hud.java index 39480daf..e61fd23d 100644 --- a/src/main/java/net/torocraft/torohealth/display/Hud.java +++ b/src/main/java/net/torocraft/torohealth/display/Hud.java @@ -109,11 +109,11 @@ private void draw(MatrixStack matrix, float x, float y, float scale) { matrix.push(); matrix.scale(scale, scale, scale); - matrix.translate(x - 10, y - 10, 0); + matrix.translate(x - 9, y - 9, 0); if (config.hud.showSkin) { this.drawSkin(matrix); } - matrix.translate(10, 10, 0); + matrix.translate(9, 9, 0); if (config.hud.showEntity) { entityDisplay.draw(matrix, scale); }