Added pre/post to player list rendering in GuiIngameForge.
This commit is contained in:
parent
24017d6810
commit
e842fd95b4
2 changed files with 4 additions and 1 deletions
|
@ -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)
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue