new setting and make modular hud the default
This commit is contained in:
parent
e5d1d3ef73
commit
b8bb14081e
4 changed files with 42 additions and 5 deletions
|
@ -23,7 +23,7 @@ public class InGameHudMixin {
|
|||
HUDEnabler hudModule = (HUDEnabler)ModuleManager.INSTANCE.getModuleByName("HUD");
|
||||
if (hudModule.enabled)
|
||||
{
|
||||
if (hudModule.legacyHud.value) LegacyHUD.INSTANCE.render(drawContext, drawContext.getScaledWindowWidth(), drawContext.getScaledWindowHeight());
|
||||
if (hudModule.mode.index == 1) LegacyHUD.INSTANCE.render(drawContext, drawContext.getScaledWindowWidth(), drawContext.getScaledWindowHeight());
|
||||
else HUDRenderer.INSTANCE.render(drawContext);
|
||||
}
|
||||
if (ModuleManager.INSTANCE.getModuleByName("ModulesList").enabled) ModulesListOverlay.INSTANCE.render(drawContext, drawContext.getScaledWindowWidth(), drawContext.getScaledWindowHeight());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue