Carpenter varrags fix

This commit is contained in:
Jared 2016-12-25 20:23:47 +02:00
parent edc7eea29b
commit 3a7c46c28d

View file

@ -40,7 +40,7 @@ public class Carpenter {
if(remainingItems == null) { if(remainingItems == null) {
remainingItems = new IItemStack[0]; remainingItems = new IItemStack[0];
} }
MineTweakerAPI.apply(new Add(new CarpenterRecipe(packagingTime, toFluid(fluidInput), toStack(box), ShapedRecipeCustom.createShapedRecipe(toStack(output), toStacks(remainingItems))))); MineTweakerAPI.apply(new Add(new CarpenterRecipe(packagingTime, toFluid(fluidInput), toStack(box), ShapedRecipeCustom.createShapedRecipe(toStack(output), (Object[]) toStacks(remainingItems)))));
} }
private static IItemStack[][] transform(IItemStack[] arr, int N) { private static IItemStack[][] transform(IItemStack[] arr, int N) {