Merge pull request #1592 from palechip/1.8

Fix Scoreboard rendering for the sidebar.
This commit is contained in:
LexManos 2014-12-24 16:06:17 -08:00
commit 30e44e19e9

View file

@ -170,9 +170,9 @@ public class GuiIngameForge extends GuiIngame
if (slot >= 0) objective = scoreboard.getObjectiveInDisplaySlot(3 + slot);
}
ScoreObjective scoreobjective1 = objective != null ? objective : scoreboard.getObjectiveInDisplaySlot(1);
if (renderObjective && objective != null)
if (renderObjective && scoreobjective1 != null)
{
this.func_180475_a(objective, res);
this.func_180475_a(scoreobjective1, res);
}
GlStateManager.enableBlend();