This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public AlloyFurnaceRecipe(Object result, Object... inputs) { | |
if (result instanceof String) { | |
ItemStack ore = OreDict.getOre((String) result); | |
if (ore != null) { | |
this.result = ore; | |
} else { | |
LogHelper.fatal("Unable to create AlloyFurnaceRecipe, was fed a OreDictionary entry that doesn't exist. " + result); | |
throw new IllegalArgumentException((String) result); | |
} | |
} else if (result instanceof OreStack) { |