Fix #283 Crash from Disabling Arboriculture

This commit is contained in:
mezz committed 2014-10-11 16:52:10 -07:00
1 parent d7dc7a8c69
commit b60b5c1251
2 files changed
+11 -1

No files matched your search

@@ -354,7 +354,9 @@ public class PluginStorage extends ForestryPlugin implements IOreDictionaryHandl
foresterItems.add(new ItemStack(Items.pumpkin_seeds));
foresterItems.add(new ItemStack(Items.melon_seeds));
foresterItems.add(new ItemStack(Items.wheat));
foresterItems.add(ForestryBlock.saplingGE.getWildcard());
if (PluginManager.Module.ARBORICULTURE.isEnabled()) {
foresterItems.add(ForestryBlock.saplingGE.getWildcard());
}
// [3] Set valid items in hunter's backpack
hunterItems.add(new ItemStack(Items.feather));