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

View file

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