This commit is contained in:
modmuss50 2016-10-04 11:12:38 +01:00
parent 871edce960
commit ee9f48bc84
No known key found for this signature in database
GPG key ID: 773D17BE8BF49C82

View file

@ -448,10 +448,11 @@ public class ModRecipes {
boolean ore = data[0].equals("ore");
Core.logHelper.debug("Ore: " + data[1]);
ItemStack dust = getDictOreOrNull(joinDictName("dust", data[1]), ore ? 2 : 1);
ItemStack dust = getDictOreOrNull(joinDictName("dust", data[1]), ore ? 2 : 1).copy();
if (dust == null || dust.getItem() == null) {
continue;
}
dust.stackSize = 2;
RecipeHandler.addRecipe(new GrinderRecipe(oreStack, dust, ore ? 270 : 200, ore ? 31 : 22));
}
}