This commit is contained in:
Modmuss50 2015-10-07 11:15:55 +01:00
parent 9798bb106b
commit 6a404ba617
11 changed files with 2 additions and 48 deletions

View file

@ -21,12 +21,7 @@ public class MTIndustrialElectrolyzer {
@ZenMethod
public static void addRecipe(IItemStack output1, IItemStack output2, IItemStack output3, IItemStack output4,IIngredient cells, IIngredient input2, int ticktime, int euTick) {
ItemStack oInput1 = (ItemStack) MinetweakerCompat.toObject(cells);
if (oInput1 == null)
return;
ItemStack oInput2 = (ItemStack) MinetweakerCompat.toObject(input2);
if (oInput2 == null)
return;
IndustrialElectrolyzerRecipe r = new IndustrialElectrolyzerRecipe(oInput1, oInput2, MinetweakerCompat.toStack(output1), MinetweakerCompat.toStack(output2), MinetweakerCompat.toStack(output3), MinetweakerCompat.toStack(output4), ticktime, euTick);