Add wildcard for OreDictionary where appropriate

This commit is contained in:
mezz committed 2014-11-20 19:10:10 -08:00
1 parent e2144b140b
commit 6927c4d5fb
2 files changed
+3 -3

No files matched your search

@@ -257,7 +257,7 @@ public class PluginArboriculture extends ForestryPlugin {
// Leaves
ForestryBlock.leaves.registerBlock(new ForestryBlockLeaves(), ItemLeavesBlock.class, "leaves");
OreDictionary.registerOre("treeLeaves", new ItemStack(ForestryBlock.leaves.item(), 1, OreDictionary.WILDCARD_VALUE));
OreDictionary.registerOre("treeLeaves", ForestryBlock.leaves.getWildcard());
// Pods
ForestryBlock.pods.registerBlock(new BlockFruitPod(), ItemForestryBlock.class, "pods");
@@ -334,7 +334,7 @@ public class PluginArboriculture extends ForestryPlugin {
protected void registerItems() {
ForestryItem.sapling.registerItem(new ItemGermlingGE(EnumGermlingType.SAPLING), "sapling");
OreDictionary.registerOre("treeSapling", ForestryItem.sapling.getItemStack(1, -1));
OreDictionary.registerOre("treeSapling", ForestryItem.sapling.getWildcard());
if (PluginManager.Module.APICULTURE.isEnabled()) {
ForestryItem.pollenFertile.registerItem(new ItemGermlingGE(EnumGermlingType.POLLEN), "pollenFertile");