mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-21 20:42:35 +00:00
Fix #475 Bees changing blocks via pollination
This commit is contained in:
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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user