diff --git a/src/tconstruct/common/TContent.java b/src/tconstruct/common/TContent.java index 1ae61aff..36561bb7 100644 --- a/src/tconstruct/common/TContent.java +++ b/src/tconstruct/common/TContent.java @@ -1,10 +1,8 @@ package tconstruct.common; -import cpw.mods.fml.common.*; -import cpw.mods.fml.common.event.FMLInterModComms; -import cpw.mods.fml.common.registry.*; import java.lang.reflect.Field; import java.util.*; + import net.minecraft.block.*; import net.minecraft.block.material.*; import net.minecraft.creativetab.CreativeTabs; @@ -39,6 +37,9 @@ import tconstruct.library.util.IPattern; import tconstruct.modifiers.*; import tconstruct.util.*; import tconstruct.util.config.*; +import cpw.mods.fml.common.*; +import cpw.mods.fml.common.event.FMLInterModComms; +import cpw.mods.fml.common.registry.*; public class TContent implements IFuelHandler { @@ -1946,8 +1947,10 @@ public class TContent implements IFuelHandler OreDictionary.registerOre("glass", new ItemStack(clearGlass)); RecipeRemover.removeShapedRecipe(new ItemStack(Block.pistonStickyBase)); RecipeRemover.removeShapedRecipe(new ItemStack(Item.magmaCream)); + RecipeRemover.removeShapedRecipe(new ItemStack(Item.leash)); GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(Block.pistonStickyBase), "slimeball", Block.pistonBase)); GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(Item.magmaCream), "slimeball", Item.blazePowder)); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Item.leash, 2), "ss ", "sS ", " s", 's', Item.silk, 'S', "slimeball")); } public static boolean thaumcraftAvailable; @@ -2039,7 +2042,7 @@ public class TContent implements IFuelHandler if (objArray[var4] instanceof String[]) { - String[] var7 = (String[]) ((String[]) objArray[var4++]); + String[] var7 = ((String[]) objArray[var4++]); for (int var8 = 0; var8 < var7.length; ++var8) {