mirror of
https://github.com/CompeyDev/elytra-lock-fabric.git
synced 2025-04-11 21:30:53 +01:00
fix: fix HUD rendering code not rendering texture
This commit is contained in:
parent
d5035904f5
commit
a73b7b8009
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
}
|
Loading…
Add table
Reference in a new issue