Fixed BWM

This commit is contained in:
Jared 2017-09-07 21:04:52 +02:00
parent 02cbd3a90a
commit da4f635f09

View file

@ -34,13 +34,13 @@ public class Saw {
Block block = ((ItemBlock) stack.getItem()).getBlock();
ItemStack[] outputs = InputHelper.toStacks(output);
SawRecipe r = new SawRecipe(block, stack.getMetadata(), Arrays.asList(outputs));
ModTweaker.LATE_ADDITIONS.add(new BMAdd("Set Saw Recipe", SawManager.INSTANCE, Lists.newArrayList(r)));
ModTweaker.LATE_ADDITIONS.add(new BMAdd("Set Saw Recipe", SawManager.WOOD_SAW, Lists.newArrayList(r)));
}
}
@ZenMethod
public static void remove(IItemStack input) {
ModTweaker.LATE_REMOVALS.add(new BMRemove("Remove Saw Recipe", SawManager.INSTANCE, InputHelper.toStack(input)));
ModTweaker.LATE_REMOVALS.add(new BMRemove("Remove Saw Recipe", SawManager.WOOD_SAW, InputHelper.toStack(input)));
}
}