mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-26 13:25:27 +01:00
Add hotbar Lua HUD element and replace hardcoded hotbar
This commit is contained in:
@@ -61,7 +61,6 @@ void DrawHUD::run(PipelineContext &context)
|
||||
if (context.draw_crosshair)
|
||||
context.hud->drawCrosshair();
|
||||
|
||||
context.hud->drawHotbar(context.client->getEnv().getLocalPlayer()->getWieldIndex());
|
||||
context.hud->drawLuaElements(context.client->getCamera()->getOffset());
|
||||
context.client->getCamera()->drawNametags();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user