mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-19 11:49:14 +00:00
Missed a check in BoP, also fix PlantMegaPack
This commit is contained in:
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));
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user