From 62267f5dc83d48ff1f490938e027716668a7b842 Mon Sep 17 00:00:00 2001 From: Adubbz Date: Sun, 5 May 2013 11:34:32 +1000 Subject: [PATCH] Merged Forstride's BlockBOPFlower changes --- src/minecraft/biomesoplenty/blocks/BlockBOPFlower.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/minecraft/biomesoplenty/blocks/BlockBOPFlower.java b/src/minecraft/biomesoplenty/blocks/BlockBOPFlower.java index 7e3a55a78..2c9752c79 100644 --- a/src/minecraft/biomesoplenty/blocks/BlockBOPFlower.java +++ b/src/minecraft/biomesoplenty/blocks/BlockBOPFlower.java @@ -105,7 +105,7 @@ public class BlockBOPFlower extends BlockFlower protected boolean canThisPlantGrowOnThisBlockID(int id) { - return id == Block.grass.blockID || id == Block.dirt.blockID || id == Block.tilledField.blockID || id == Block.sand.blockID; + return id == Block.grass.blockID || id == Block.dirt.blockID || id == Block.tilledField.blockID || id == Block.sand.blockID || id == Blocks.hardDirt.get().blockID || id == Blocks.redRock.get().blockID; } protected boolean canThisPlantGrowOnThisBlockID(int id, int metadata) @@ -133,7 +133,7 @@ public class BlockBOPFlower extends BlockFlower return id == Block.grass.blockID || id == Block.dirt.blockID || id == Block.mycelium.blockID; case 11: // Cactus - return id == Block.sand.blockID; + return id == Blocks.redRock.get().blockID || id == Block.sand.blockID; case 12: // Yucca return id == Blocks.hardDirt.get().blockID || id == Blocks.redRock.get().blockID || id == Block.sand.blockID;