remove crop handling for flowers

This commit is contained in:
Hea3veN 2015-06-05 19:40:29 -03:00
parent 3ad6c673ff
commit 6905b7743a

View file

@ -65,8 +65,7 @@ public class CropHandlerPlantable implements ICropHandler {
public boolean isMature(IBlockAccess blockAccess, Block block, int meta, int x, int y, int z) { public boolean isMature(IBlockAccess blockAccess, Block block, int meta, int x, int y, int z) {
if (block == null) { if (block == null) {
return false; return false;
} else if (block instanceof BlockFlower } else if (block instanceof BlockTallGrass
|| block instanceof BlockTallGrass
|| block instanceof BlockMelon || block instanceof BlockMelon
|| block instanceof BlockMushroom || block instanceof BlockMushroom
|| block instanceof BlockDoublePlant || block instanceof BlockDoublePlant