From d7bb1f005ff00fe77921367ec24818fe2d2d35a7 Mon Sep 17 00:00:00 2001 From: jaredlll08 Date: Thu, 19 Mar 2015 12:15:17 +0200 Subject: [PATCH] Close #64 --- ...Nihilo-1.37-dev.jar => Ex-Nihilo-1.37-dev.jar.d} | Bin .../mods/railcraft/handlers/RollingMachine.java | 7 +++++-- 2 files changed, 5 insertions(+), 2 deletions(-) rename libs/{Ex-Nihilo-1.37-dev.jar => Ex-Nihilo-1.37-dev.jar.d} (100%) diff --git a/libs/Ex-Nihilo-1.37-dev.jar b/libs/Ex-Nihilo-1.37-dev.jar.d similarity index 100% rename from libs/Ex-Nihilo-1.37-dev.jar rename to libs/Ex-Nihilo-1.37-dev.jar.d diff --git a/src/main/java/modtweaker2/mods/railcraft/handlers/RollingMachine.java b/src/main/java/modtweaker2/mods/railcraft/handlers/RollingMachine.java index c0c565f..a561ed1 100644 --- a/src/main/java/modtweaker2/mods/railcraft/handlers/RollingMachine.java +++ b/src/main/java/modtweaker2/mods/railcraft/handlers/RollingMachine.java @@ -7,10 +7,13 @@ import minetweaker.MineTweakerAPI; import minetweaker.api.item.IIngredient; import minetweaker.api.item.IItemStack; import mods.railcraft.api.crafting.RailcraftCraftingManager; +import modtweaker2.helpers.InputHelper; import modtweaker2.mods.railcraft.RailcraftHelper; import modtweaker2.utils.BaseCraftingAddition; import modtweaker2.utils.BaseCraftingRemoval; import net.minecraft.item.ItemStack; +import net.minecraftforge.oredict.ShapedOreRecipe; +import net.minecraftforge.oredict.ShapelessOreRecipe; import stanhebben.zenscript.annotations.ZenClass; import stanhebben.zenscript.annotations.ZenMethod; @@ -33,12 +36,12 @@ public class RollingMachine { @Override public void applyShaped() { - RailcraftCraftingManager.rollingMachine.addRecipe(output, recipe); + RailcraftHelper.rolling.add(new ShapedOreRecipe(output, recipe)); } @Override public void applyShapeless() { - RailcraftCraftingManager.rollingMachine.addShapelessRecipe(output, recipe); + RailcraftHelper.rolling.add(new ShapelessOreRecipe(output, recipe)); } }