mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-22 05:02:18 +00:00
Changed the layout of the missing mods gui a little. Still needs a lot of work to look good.
This commit is contained in:
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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user