mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-13 16:54:22 +00:00
Fix Scoreboard rendering for the sidebar.
This commit is contained in:
1 parent
959eaf0218
commit
f6dc40c07d
1 file changed
+2
-2
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user