fix hud bug, update to 1.21.1
This commit is contained in:
parent
253ee1d5be
commit
00e91b98aa
4 changed files with 12 additions and 13 deletions
|
@ -33,9 +33,9 @@ public class HUDOverlay
|
|||
|
||||
// draw coordinates
|
||||
drawContext.drawTextWithShadow(mc.textRenderer,
|
||||
"X: " + ColorUtils.gray + MathUtils.round(mc.player.getX(), 1) + ColorUtils.reset +
|
||||
" Y: " + ColorUtils.gray + MathUtils.round(mc.player.getY(), 1) + ColorUtils.reset +
|
||||
" Z: " + ColorUtils.gray + MathUtils.round(mc.player.getZ(), 1), 2, scaledHeight - 10, Moonlight.uiColorA
|
||||
"X: " + ColorUtils.gray + String.format("%.1f", mc.player.getX()) + ColorUtils.reset +
|
||||
" Y: " + ColorUtils.gray + String.format("%.1f", mc.player.getY()) + ColorUtils.reset +
|
||||
" Z: " + ColorUtils.gray + String.format("%.1f", mc.player.getZ()), 2, scaledHeight - 10, Moonlight.uiColorA
|
||||
);
|
||||
|
||||
// draw client tag (if enabled)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue