Fix #475 Bees changing blocks via pollination

This commit is contained in:
mezz committed 2015-01-30 21:35:55 -08:00
1 parent ee55d90746
commit c218d6c9e1
1 file changed
+1 -1
@@ -26,7 +26,7 @@ public class VanillaFlowerPotGrowthRule implements IFlowerGrowthRule {
public boolean growFlower(IFlowerRegistry fr, String flowerType, World world, IIndividual individual, int x, int y, int z) {
Block ground = world.getBlock(x, y, z);
int groundMeta = world.getBlockMetadata(x, y, z);
if (ground != Blocks.flower_pot && groundMeta != 0) {
if (ground != Blocks.flower_pot || groundMeta != 0) {
return false;
}