mirror of
https://github.com/Wurst-Imperium/Wurst7.git
synced 2024-09-20 01:12:13 +02:00
Hide Wurst UI when debug UI is open
This commit is contained in:
parent
8e572d3dff
commit
38de22c638
@ -25,6 +25,9 @@ public class IngameHudMixin extends DrawableHelper
|
||||
ordinal = 4)}, method = {"render(F)V"})
|
||||
private void onRender(float partialTicks, CallbackInfo ci)
|
||||
{
|
||||
if(WurstClient.MC.options.debugEnabled)
|
||||
return;
|
||||
|
||||
GUIRenderEvent event = new GUIRenderEvent(partialTicks);
|
||||
WurstClient.INSTANCE.getEventManager().fire(event);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user