Clean up.
This commit is contained in:
@ -50,7 +50,7 @@ public class GuiRenderTickMixin {
|
|||||||
int textHalfWidth = font.width(Proxy.Client.getPlayerState().toString()) / 2;
|
int textHalfWidth = font.width(Proxy.Client.getPlayerState().toString()) / 2;
|
||||||
int textHalfHeight = font.lineHeight / 2;
|
int textHalfHeight = font.lineHeight / 2;
|
||||||
int offsetX = -textHalfWidth;
|
int offsetX = -textHalfWidth;
|
||||||
int offsetY = (int)-(textHalfHeight + ((guiHalfHeight / heightPositionScale) / scale));
|
int offsetY = -(textHalfHeight + (int)((guiHalfHeight / heightPositionScale) / scale));
|
||||||
int argb = 0xFFFFFFFF;
|
int argb = 0xFFFFFFFF;
|
||||||
|
|
||||||
// Draw the player's protection state
|
// Draw the player's protection state
|
||||||
|
|||||||
Reference in New Issue
Block a user