fix: fix HUD rendering code not rendering texture

This commit is contained in:
Erica Marigold 2024-05-23 19:50:36 +05:30
parent d5035904f5
commit a73b7b8009
No known key found for this signature in database
GPG key ID: 2768CC0C23D245D1

View file

@ -19,6 +19,6 @@ public class HudRenderHandler implements HudRenderCallback {
Window window = ElytraLock.client.getWindow();
int width = window.getScaledWidth(), height = window.getScaledHeight();
context.drawGuiTexture(icon, (width / 2) + 95, height - HEIGHT - 3, WIDTH, HEIGHT);
context.drawTexture(icon, (width / 2) + 95, height - HEIGHT - 3, 0, 0, WIDTH, HEIGHT, WIDTH, HEIGHT);
}
}