Changed the layout of the missing mods gui a little. Still needs a lot of work to look good.

This commit is contained in:
LexManos committed 2012-02-22 11:58:05 -08:00
1 parent 7c66376a3b
commit 745539626d
1 file changed
+2 -2
@@ -28,11 +28,11 @@ public class GuiMissingMods extends GuiScreen
public void drawScreen(int i, int j, float f)
{
drawDefaultBackground();
drawCenteredString(fontRenderer, "The server requires the following mods:", width / 2, height / 2 - 50, 0xffffff);
drawCenteredString(fontRenderer, "The server requires the following mods:", width / 2, 50, 0xffffff);
int y = 0;
for (String mod : packet.Mods)
{
drawCenteredString(fontRenderer, mod, width / 2, (height / 2 - 10) + y++ * 10, 0xffffff);
drawCenteredString(fontRenderer, mod, width / 2, 80 + y++ * 10, 0xffffff);
}
super.drawScreen(i, j, f);
}