diff --git a/common/mekanism/common/Mekanism.java b/common/mekanism/common/Mekanism.java index 75ba62954..bc3779fbe 100644 --- a/common/mekanism/common/Mekanism.java +++ b/common/mekanism/common/Mekanism.java @@ -950,11 +950,8 @@ public class Mekanism for(Object obj : FurnaceRecipes.smelting().getSmeltingList().entrySet()) { - if(obj instanceof Map.Entry) - { - Map.Entry entry = (Map.Entry)obj; - TileEntityEnergizedSmelter.furnaceRecipes.put(new ItemStack(entry.getKey(), 1, 0), entry.getValue()); - } + Map.Entry entry = (Map.Entry)obj; + TileEntityEnergizedSmelter.furnaceRecipes.put(new ItemStack(entry.getKey(), 1, OreDictionary.WILDCARD_VALUE), entry.getValue()); } event.registerServerCommand(new CommandMekanism()); diff --git a/common/mekanism/common/recipe/RecipeHandler.java b/common/mekanism/common/recipe/RecipeHandler.java index 7615064bf..7412095b2 100644 --- a/common/mekanism/common/recipe/RecipeHandler.java +++ b/common/mekanism/common/recipe/RecipeHandler.java @@ -342,7 +342,9 @@ public final class RecipeHandler if(entry.getKey() instanceof ItemStack) { - if(((ItemStack)entry.getKey()).isItemEqual(input)) + ItemStack stack = (ItemStack)entry.getKey(); + + if(StackUtils.equalsWildcard(stack, input)) { return true; }