From 6c34e067e380637617b236cc9baadfb48ee01498 Mon Sep 17 00:00:00 2001 From: Pikachu920 Date: Thu, 15 Feb 2018 03:11:01 -0600 Subject: [PATCH] change call to the wrong method to the correct call --- src/main/java/com/pikachu/uhcessentials/gui/base/Window.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/pikachu/uhcessentials/gui/base/Window.java b/src/main/java/com/pikachu/uhcessentials/gui/base/Window.java index 9e4338d..443b205 100644 --- a/src/main/java/com/pikachu/uhcessentials/gui/base/Window.java +++ b/src/main/java/com/pikachu/uhcessentials/gui/base/Window.java @@ -90,7 +90,7 @@ public boolean drawWhenDebug() { @SubscribeEvent public void onTextRender(RenderGameOverlayEvent.Text event) { - if (((isEnabled() || drawWhenDisabled()) || mc.currentScreen instanceof OptionScreen) && (drawWhenDisabled() || !mc.gameSettings.showDebugInfo)) { + if (((isEnabled() || drawWhenDisabled()) || mc.currentScreen instanceof OptionScreen) && (drawWhenDebug() || !mc.gameSettings.showDebugInfo)) { render(event); if (!isEnabled() && displayDisabledIndicator()) { drawDisabledIndicator();