mirror of
https://github.com/CivMC/Civ.git
synced 2026-07-15 23:20:44 +00:00
fix chorus not growing
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user