Update Carpenter.java

This commit is contained in:
Yulife committed 2015-09-04 00:08:38 +02:00
1 parent fe52e2ad88
commit 29a40d4d67
1 file changed
+1 -1
@@ -47,7 +47,7 @@ public class Carpenter {
* @param box recipes casting item (optional)
*/
@ZenMethod
public static void addRecipe(IItemStack output, int packagingTime, IIngredient[][] ingredients, @Optional ILiquidStack fluidInput, @Optional IItemStack box) {
public static void addRecipe(IIngredient[] ingredients, int packagingTime, IItemStack output, @Optional ILiquidStack fluidInput, @Optional IItemStack box) {
MineTweakerAPI.apply(new Add(new Recipe(packagingTime, toFluid(fluidInput), toStack(box), ShapedRecipeCustom.createShapedRecipe(toStack(output), toShapedObjects(ingredients)) )));
}