fix chorus not growing

This commit is contained in:
okx-code
2026-06-19 02:11:56 +01:00
parent f4e06d2465
commit 33f8ebfbc5
2 changed files with 3 additions and 3 deletions

View File

@@ -894,9 +894,9 @@ plants:
name: Chorus Plant
grower:
type: tree
material: CHORUS_FRUIT
material: CHORUS_FLOWER
vanilla_materials:
- CHORUS_FRUIT
- CHORUS_FLOWER
id: 33
item:
==: org.bukkit.inventory.ItemStack

View File

@@ -164,7 +164,7 @@ public class TreeGrower extends AgeableGrower {
}
Block block = plant.getLocation().getBlock();
// Re-Read the block data to make sure it is up to date
if (!(block.getBlockData() instanceof Sapling)) {
if (!(block.getBlockData() instanceof Sapling) && block.getType() != Material.CHORUS_FLOWER) {
return true;
}
Material mat = block.getType();