Clean up.

This commit is contained in:
2024-05-15 20:54:26 +01:00
parent 94fbe307d6
commit 1683bfda13

View File

@ -50,7 +50,7 @@ public class GuiRenderTickMixin {
int textHalfWidth = font.width(Proxy.Client.getPlayerState().toString()) / 2;
int textHalfHeight = font.lineHeight / 2;
int offsetX = -textHalfWidth;
int offsetY = (int)-(textHalfHeight + ((guiHalfHeight / heightPositionScale) / scale));
int offsetY = -(textHalfHeight + (int)((guiHalfHeight / heightPositionScale) / scale));
int argb = 0xFFFFFFFF;
// Draw the player's protection state