Transmutation Fix

Fix for a bug where the transmutation wouldn't work unless the stone was
new
This commit is contained in:
Captain of all Shadows 2013-03-30 00:08:04 -04:00
parent 3a004a5540
commit ca7a589f1b

View file

@ -10,6 +10,7 @@ import net.minecraft.block.Block;
import net.minecraft.item.Item; import net.minecraft.item.Item;
import net.minecraft.item.ItemStack; import net.minecraft.item.ItemStack;
import net.minecraft.item.crafting.FurnaceRecipes; import net.minecraft.item.crafting.FurnaceRecipes;
import net.minecraftforge.oredict.OreDictionary;
import com.pahimar.ee3.core.handlers.EquivalencyHandler; import com.pahimar.ee3.core.handlers.EquivalencyHandler;
import com.pahimar.ee3.core.helper.GeneralHelper; import com.pahimar.ee3.core.helper.GeneralHelper;
@ -30,8 +31,8 @@ import cpw.mods.fml.common.ObfuscationReflectionHelper;
*/ */
public class RecipesTransmutationStone { public class RecipesTransmutationStone {
private static ItemStack philStone = new ItemStack(ModItems.philStone, 1, -1); private static ItemStack philStone = new ItemStack(ModItems.philStone, 1, OreDictionary.WILDCARD_VALUE);
private static ItemStack miniumStone = new ItemStack(ModItems.miniumStone, 1, -1); private static ItemStack miniumStone = new ItemStack(ModItems.miniumStone, 1, OreDictionary.WILDCARD_VALUE);
public static List<ItemStack> transmutationStones = Arrays.asList(miniumStone, philStone); public static List<ItemStack> transmutationStones = Arrays.asList(miniumStone, philStone);