Fix compatibility with Xaero's minimap. Fixes #437

This commit is contained in:
Sollace 2024-09-18 18:35:42 +01:00
parent a3d5670f7a
commit 55a57c3d1b
No known key found for this signature in database
GPG key ID: E52FACE7B5C773DB

View file

@ -84,7 +84,7 @@ public class UHud {
Pony pony = Pony.of(client.player); Pony pony = Pony.of(client.player);
matrices.push(); matrices.push();
matrices.translate(0, 0, hotbarZ); matrices.translate(0, 0, hotbarZ - 9800);
renderViewEffects(pony, context, scaledWidth, scaledHeight, tickDelta); renderViewEffects(pony, context, scaledWidth, scaledHeight, tickDelta);
matrices.pop(); matrices.pop();