From 295542c3579d75368b9ce59333b8f6aeff20d5e4 Mon Sep 17 00:00:00 2001 From: Lex Manos Date: Fri, 18 Oct 2013 18:58:31 -0700 Subject: [PATCH] Add wildcard versions of OreDict replacements, Closes #827 --- common/net/minecraftforge/oredict/OreDictionary.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/common/net/minecraftforge/oredict/OreDictionary.java b/common/net/minecraftforge/oredict/OreDictionary.java index 496f9109c..5ec2872fe 100644 --- a/common/net/minecraftforge/oredict/OreDictionary.java +++ b/common/net/minecraftforge/oredict/OreDictionary.java @@ -74,10 +74,13 @@ public class OreDictionary // Build our list of items to replace with ore tags Map replacements = new HashMap(); - replacements.put(new ItemStack(Block.planks, 1, WILDCARD_VALUE), "plankWood"); replacements.put(new ItemStack(Item.stick), "stickWood"); + replacements.put(new ItemStack(Block.planks), "plankWood"); + replacements.put(new ItemStack(Block.planks, 1, WILDCARD_VALUE), "plankWood"); replacements.put(new ItemStack(Block.stone), "stone"); + replacements.put(new ItemStack(Block.stone, 1, WILDCARD_VALUE), "stone"); replacements.put(new ItemStack(Block.cobblestone), "cobblestone"); + replacements.put(new ItemStack(Block.cobblestone, 1, WILDCARD_VALUE), "cobblestone"); // Register dyes String[] dyes =