Fix unneeded cast causing crash in new Config GUI system.
This commit is contained in:
parent
fa512ed2d7
commit
3164dd95bf
|
@ -129,7 +129,7 @@ public class GuiEditArray extends GuiScreen
|
|||
}
|
||||
else if (button.id == 2001)
|
||||
{
|
||||
this.currentValues = (String[]) configElement.getDefaults();
|
||||
this.currentValues = configElement.getDefaults();
|
||||
this.entryList = new GuiEditArrayEntries(this, this.mc, this.configElement, this.beforeValues, this.currentValues);
|
||||
}
|
||||
else if (button.id == 2002)
|
||||
|
|
Loading…
Reference in New Issue