Don't render indicators in GuiReplayOverlay if current screen implements NoOverlay

This commit is contained in:
CrushedPixel
2015-07-17 16:21:02 +02:00
parent d5be3b8eb6
commit 2f78dc5e27

View File

@@ -592,7 +592,7 @@ public class GuiReplayOverlay extends Gui {
@SubscribeEvent
public void renderIndicators(RenderGameOverlayEvent.Post event) {
if (event.type != RenderGameOverlayEvent.ElementType.ALL) return;
if(!ReplayHandler.isInReplay()) return;
if(!ReplayHandler.isInReplay() || mc.currentScreen instanceof NoOverlay) return;
int xPos = WIDTH-10;