1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-11-09 03:25:28 +01:00

Move hard coded minimap to builtin (#14071)

This commit is contained in:
cx384
2024-02-07 20:13:23 +01:00
committed by GitHub
parent f2b99332d9
commit adaa4cc2f3
20 changed files with 51 additions and 87 deletions

View File

@@ -64,9 +64,6 @@ void DrawHUD::run(PipelineContext &context)
context.hud->drawHotbar(context.client->getEnv().getLocalPlayer()->getWieldIndex());
context.hud->drawLuaElements(context.client->getCamera()->getOffset());
context.client->getCamera()->drawNametags();
auto mapper = context.client->getMinimap();
if (mapper && context.show_minimap)
mapper->drawMinimap();
}
context.device->getGUIEnvironment()->drawAll();
}