Closed f1den closed 10 months ago
Is this the unmodified example mod? Can you provide steps required to reproduce this issue?
i downloaded, opened in intellij commented random module generator. thats all. (usingreobf shadowjar). Layout csgoSearch + theme impact
I tried to download standard and just gradlew build = same issue. Tested Minecraft Forge + Optifine and raw Forge Minecraft version 1.16.5
Got fixed @SubscribeEvent public void onRender (RenderGameOverlayEvent.Post event) { if (inited) { if (gui.getGUI().getGUIVisibility().isOn() || gui.getGUI().getHUDVisibility().isOn()){ if (event.getType()==RenderGameOverlayEvent.ElementType.HOTBAR){ gui.render(); } } } else { Category.init(); Category.OTHER.modules.add(new ClickGUIModule()); Category.OTHER.modules.add(new HUDEditorModule()); Category.HUD.modules.add(new TabGUIModule()); Category.HUD.modules.add(new WatermarkModule()); Category.HUD.modules.add(new LogoModule()); gui=new ClickGUI(); inited=true; } }
I found bug. I open GUI, Crosshair and other is showing. I close it all turning bad.