Revert KL's change, requesting a ore WILL register it.

Registering like this and returning a new empty list allows for modders to register their recipes and such without requiring to be executed after someone actually adds an item. If handled properly this allows for more flexible load orders, and more responsive code.
This commit is contained in:
LexManos 2015-04-13 21:28:16 -07:00
parent b30b551197
commit 475d7fc02d
1 changed files with 1 additions and 1 deletions

View File

@ -344,7 +344,7 @@ public class OreDictionary
*/
public static ArrayList<ItemStack> getOres(String name) //TODO: 1.8 ArrayList -> List
{
return nameToId.get(name) != null ? getOres(getOreID(name)) : EMPTY_LIST;
return getOres(getOreID(name));
}
/**