Added pre/post to player list rendering in GuiIngameForge.

This commit is contained in:
rhilenova 2013-09-29 11:43:29 -04:00
parent 24017d6810
commit e842fd95b4
2 changed files with 4 additions and 1 deletions

View file

@ -733,6 +733,7 @@ public class GuiIngameForge extends GuiIngame
protected void renderPlayerList(int width, int height) protected void renderPlayerList(int width, int height)
{ {
if (pre(PLAYER_LIST)) return;
ScoreObjective scoreobjective = this.mc.theWorld.getScoreboard().func_96539_a(0); ScoreObjective scoreobjective = this.mc.theWorld.getScoreboard().func_96539_a(0);
NetClientHandler handler = mc.thePlayer.sendQueue; NetClientHandler handler = mc.thePlayer.sendQueue;
@ -805,6 +806,7 @@ public class GuiIngameForge extends GuiIngame
} }
} }
} }
post(PLAYER_LIST);
} }
protected void renderHealthMount(int width, int height) protected void renderHealthMount(int width, int height)

View file

@ -24,7 +24,8 @@ public class RenderGameOverlayEvent extends Event
EXPERIENCE, EXPERIENCE,
TEXT, TEXT,
HEALTHMOUNT, HEALTHMOUNT,
JUMPBAR JUMPBAR,
PLAYER_LIST
} }
public final float partialTicks; public final float partialTicks;