Fix unneeded cast causing crash in new Config GUI system.

This commit is contained in:
Lex Manos 2014-07-03 11:13:11 -07:00
parent fa512ed2d7
commit 3164dd95bf
1 changed files with 1 additions and 1 deletions

View File

@ -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)