Missed a check in BoP, also fix PlantMegaPack

This commit is contained in:
Nirek-K committed 2016-01-24 03:05:27 -06:00
1 parent 32a9a6ff5c
commit a4d5117a97
2 files changed
+19 -10

No files matched your search

@@ -105,9 +105,9 @@ public class PluginBiomesOPlenty extends ForestryPlugin {
}
Block boPTurnip = GameRegistry.findBlock(BoP, "turnip");
if (boPTurnip != null) {
if (PluginManager.Module.FARMING.isEnabled() && boPTurnip != null) {
Item boPTurnipSeeds = GameRegistry.findItem(BoP, "turnipSeeds");
if (PluginManager.Module.FARMING.isEnabled() && boPTurnipSeeds != null) {
if (boPTurnipSeeds != null) {
Farmables.farmables.get("farmVegetables").add(new FarmableGenericCrop(new ItemStack(boPTurnipSeeds, 1, 0), boPTurnip, 7));
}