0
0
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:
Alexander01998 2019-08-13 17:32:05 +02:00
parent 8e572d3dff
commit 38de22c638

View File

@ -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);
}