Fix #475 fix leaves not pollinating

This commit is contained in:
mezz committed 2015-01-25 22:59:45 -08:00
1 parent 0b71684778
commit d4f3f0d327
1 file changed
+1 -1
@@ -41,7 +41,7 @@ public class FlowerProvider implements IFlowerProvider {
@Override
public boolean isAcceptedPollinatable(World world, IPollinatable pollinatable) {
EnumSet<EnumPlantType> types = pollinatable.getPlantType();
if (types.size() > 1) {
if (!types.isEmpty()) {
if (flowerType.equals(FlowerManager.FlowerTypeNether) && types.contains(EnumPlantType.Nether)) {
return true;
} else if (!flowerType.equals(FlowerManager.FlowerTypeNether) && !types.contains(EnumPlantType.Nether)) {