Merge pull request #44 from Voidi/master

fix: add liquid to Forestry Carpenters internal tank filter, so new liquids are accepted
This commit is contained in:
Yulife committed 2015-01-26 17:06:01 +01:00
commit fe902af6fb
2 files changed
+6

No files matched your search

@@ -54,6 +54,7 @@ public class Carpenter {
private static class Add extends BaseListAddition {
public Add(Recipe recipe) {
super("Forestry Carpenter", MachineCarpenter.RecipeManager.recipes, recipe);
RecipeManager.recipeFluids.add(recipe.getLiquid().getFluid());
}
}
@@ -52,6 +52,11 @@ public class ThermionicFabricator {
MineTweakerAPI.apply(new Add(new Recipe(toStack(plan), toFluid(fluidInput), new ShapedRecipeCustom(3, 3, flatList, toStack(product)))));
}
@ZenMethod
public static void removeCast(IItemStack product) {
MineTweakerAPI.apply(new RemoveCastings(toStack(product)));
}
@ZenMethod
public static void removeCasts(IItemStack product) {
MineTweakerAPI.apply(new RemoveCastings(toStack(product)));