fix non devenv crash + remove broken colour thing

This commit is contained in:
kawaiizenbo 2023-06-28 09:43:53 -07:00
parent f95fd5d587
commit 26756e8c86
3 changed files with 9 additions and 9 deletions

View file

@ -16,11 +16,11 @@ public class HUD
public static HUD INSTANCE = new HUD();
private MinecraftClient mc = MinecraftClient.getInstance();
TextRenderer textRenderer = mc.textRenderer;
public int hudColor = ColorUtils.rgbaToInt(
public int hudColor = 0xFF00FFFF; /*ColorUtils.rgbaToInt(
(int)((HUDModule)ModuleManager.INSTANCE.getModuleByName("HUD")).r.value,
(int)((HUDModule)ModuleManager.INSTANCE.getModuleByName("HUD")).g.value,
(int)((HUDModule)ModuleManager.INSTANCE.getModuleByName("HUD")).b.value,
255 );
255 );*/
public void renderHUD(DrawContext drawContext, int scaledWidth, int scaledHeight)
{