Merge pull request #1592 from palechip/1.8
Fix Scoreboard rendering for the sidebar.
This commit is contained in:
commit
30e44e19e9
1 changed files with 2 additions and 2 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue