Skip to content

Commit d43da4c

Browse files
author
Nicholas Estoll
committed
Fix overgrowth check for normal flowers
1 parent ae52012 commit d43da4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Xplat/src/main/java/vazkii/botania/common/block/block_entity/CellularBlockEntity.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public void update(Level level) {
6868
}
6969

7070
public boolean hasActiveParent(DandelifeonBlockEntity dandie) {
71-
return flowerCoords != null && dandie.getLevel().getBlockEntity(flowerCoords) instanceof DandelifeonBlockEntity parent && dandie.getLevel().hasNeighborSignal(flowerCoords) && parent.isOnSpecialSoil() == dandie.overgrowthBoost;
71+
return flowerCoords != null && dandie.getLevel().getBlockEntity(flowerCoords) instanceof DandelifeonBlockEntity parent && dandie.getLevel().hasNeighborSignal(flowerCoords) && (!dandie.overgrowthBoost || parent.isOnSpecialSoil());
7272
}
7373

7474
public int getGeneration() {

0 commit comments

Comments
 (0)