Fix unneeded cast causing crash in new Config GUI system.
This commit is contained in:
parent
fa512ed2d7
commit
3164dd95bf
1 changed files with 1 additions and 1 deletions
|
@ -129,7 +129,7 @@ public class GuiEditArray extends GuiScreen
|
||||||
}
|
}
|
||||||
else if (button.id == 2001)
|
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);
|
this.entryList = new GuiEditArrayEntries(this, this.mc, this.configElement, this.beforeValues, this.currentValues);
|
||||||
}
|
}
|
||||||
else if (button.id == 2002)
|
else if (button.id == 2002)
|
||||||
|
|
Loading…
Reference in a new issue