Skip to content

Commit

Permalink
change call to the wrong method to the correct call
Browse files Browse the repository at this point in the history
  • Loading branch information
tCInUBkXfaMY committed Feb 15, 2018
1 parent 6979330 commit 6c34e06
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 6c34e06

Please sign in to comment.