This commit is contained in:
ThisIsALegitUsername 2023-04-01 19:59:51 +00:00
parent 90cf29ecd9
commit cf7c8accd4

View File

@ -302,7 +302,11 @@ public class GuiIngame extends Gui {
this.overlayPlayerList.renderPlayerlist(i, scoreboard, scoreobjective1); this.overlayPlayerList.renderPlayerlist(i, scoreboard, scoreobjective1);
} }
Resent.INSTANCE.modManager.modules.stream().filter(m -> m.isEnabled() && m instanceof RenderMod).forEach(m -> ((RenderMod) m).draw()); Resent.INSTANCE.modManager.modules.stream().filter(m -> m.isEnabled() && m instanceof RenderMod).forEach(m -> {
if(!Minecraft.getMinecraft().gameSettings.showDebugInfo){
((RenderMod) m).draw();
}
});
GlStateManager.color(1.0F, 1.0F, 1.0F, 1.0F); GlStateManager.color(1.0F, 1.0F, 1.0F, 1.0F);
GlStateManager.disableLighting(); GlStateManager.disableLighting();