From 3fb567cdd05d38323c067716ab632b6f1597ac05 Mon Sep 17 00:00:00 2001 From: enjarai Date: Sun, 14 Jul 2024 11:35:29 +0200 Subject: [PATCH] Heh --- .../java/nl/enjarai/doabarrelroll/render/HorizonLineWidget.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/main/java/nl/enjarai/doabarrelroll/render/HorizonLineWidget.java b/common/src/main/java/nl/enjarai/doabarrelroll/render/HorizonLineWidget.java index 071e1f00..07b288de 100644 --- a/common/src/main/java/nl/enjarai/doabarrelroll/render/HorizonLineWidget.java +++ b/common/src/main/java/nl/enjarai/doabarrelroll/render/HorizonLineWidget.java @@ -10,7 +10,7 @@ public class HorizonLineWidget extends RenderHelper { public static void render(MatrixStack matrices, int scaledWidth, int scaledHeight, double roll, double pitch) { - int centerX = scaledWidth / 2; + int centerX = scaledWidth / 2 - 1; int centerY = scaledHeight / 2 - 1; roll *= -MagicNumbers.TORAD;