Actually hide the GUI when exporting a screenshot

This commit is contained in:
CrushedPixel
2017-11-01 15:43:49 +01:00
parent a4a9473111
commit 666a3611bb

View File

@@ -23,6 +23,7 @@ public class ScreenshotRenderer implements RenderInfo {
int displayHeightBefore = mc.displayHeight;
boolean hideGUIBefore = mc.gameSettings.hideGUI;
mc.gameSettings.hideGUI = true;
ChunkLoadingRenderGlobal clrg = new ChunkLoadingRenderGlobal(mc.renderGlobal);