Don't render indicators in GuiReplayOverlay if current screen implements NoOverlay
This commit is contained in:
@@ -592,7 +592,7 @@ public class GuiReplayOverlay extends Gui {
|
|||||||
@SubscribeEvent
|
@SubscribeEvent
|
||||||
public void renderIndicators(RenderGameOverlayEvent.Post event) {
|
public void renderIndicators(RenderGameOverlayEvent.Post event) {
|
||||||
if (event.type != RenderGameOverlayEvent.ElementType.ALL) return;
|
if (event.type != RenderGameOverlayEvent.ElementType.ALL) return;
|
||||||
if(!ReplayHandler.isInReplay()) return;
|
if(!ReplayHandler.isInReplay() || mc.currentScreen instanceof NoOverlay) return;
|
||||||
|
|
||||||
int xPos = WIDTH-10;
|
int xPos = WIDTH-10;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user