* 3 Pyrite dusts in an Industrial Electrolyzer gives 1 Iron dust and 2 Sulfur dust * referenced to issue #484, fixed #1, #3, #6, #7 * Fixed #722 with a null ore check
This commit is contained in:
parent
cf46fea074
commit
bda861454c
1 changed files with 4 additions and 2 deletions
|
@ -445,16 +445,18 @@ public class ModRecipes
|
|||
ItemStack oreStack = getDictOreOrNull(oreDictionaryName, 1);
|
||||
String[] data = getDictData(oreDictionaryName);
|
||||
|
||||
|
||||
//High-level ores shouldn't grind here
|
||||
if(data[0].equals("ore") && (
|
||||
data[1].equals("tungsten") ||
|
||||
data[1].equals("titanium") ||
|
||||
data[1].equals("aluminium") ||
|
||||
data[1].equals("iridium")))
|
||||
data[1].equals("iridium") ||
|
||||
data[1].equals("saltpeter")) ||
|
||||
oreStack == null)
|
||||
continue;
|
||||
|
||||
boolean ore = data[0].equals("ore");
|
||||
Core.logHelper.info("Ore: " + data[1]);
|
||||
ItemStack dust = getDictOreOrNull(joinDictName("dust", data[1]), ore ? 2 : 1);
|
||||
RecipeHandler.addRecipe(new GrinderRecipe(oreStack, dust, ore ? 270 : 200, ore ? 31 : 22));
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue