Clear button list on FML fatal error screens. The hidden cancel button should not be

there.
Closes #497
This commit is contained in:
cpw 2014-08-12 09:16:15 -04:00
parent 12d4047459
commit 5527b9f01e
4 changed files with 4 additions and 0 deletions

View file

@ -26,6 +26,7 @@ public class GuiCustomModLoadingErrorScreen extends GuiErrorScreen
public void initGui()
{
super.initGui();
this.buttonList.clear();
this.customException.initGui(this, fontRendererObj);
}
@Override

View file

@ -34,6 +34,7 @@ public class GuiDupesFound extends GuiErrorScreen
public void initGui()
{
super.initGui();
this.buttonList.clear();
}
@Override
public void drawScreen(int p_73863_1_, int p_73863_2_, float p_73863_3_)

View file

@ -32,6 +32,7 @@ public class GuiModsMissing extends GuiErrorScreen
public void initGui()
{
super.initGui();
this.buttonList.clear();
}
@Override
public void drawScreen(int p_73863_1_, int p_73863_2_, float p_73863_3_)

View file

@ -28,6 +28,7 @@ public class GuiWrongMinecraft extends GuiErrorScreen
public void initGui()
{
super.initGui();
this.buttonList.clear();
}
@Override
public void drawScreen(int p_73863_1_, int p_73863_2_, float p_73863_3_)