mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-19 03:39:09 +00:00
Fix #475 fix leaves not pollinating
This commit is contained in:
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)) {
|
||||
|
||||
Reference in new issue
Block a user