mirror of
https://hub.spigotmc.org/stash/scm/spigot/craftbukkit.git
synced 2024-11-22 10:06:16 +00:00
11 lines
665 B
Diff
11 lines
665 B
Diff
--- a/net/minecraft/world/level/block/BlockBambooSapling.java
|
|
+++ b/net/minecraft/world/level/block/BlockBambooSapling.java
|
|
@@ -87,6 +87,6 @@
|
|
}
|
|
|
|
protected void growBamboo(World world, BlockPosition blockposition) {
|
|
- world.setBlock(blockposition.above(), (IBlockData) Blocks.BAMBOO.defaultBlockState().setValue(BlockBamboo.LEAVES, BlockPropertyBambooSize.SMALL), 3);
|
|
+ org.bukkit.craftbukkit.event.CraftEventFactory.handleBlockSpreadEvent(world, blockposition, blockposition.above(), (IBlockData) Blocks.BAMBOO.defaultBlockState().setValue(BlockBamboo.LEAVES, BlockPropertyBambooSize.SMALL), 3); // CraftBukkit - BlockSpreadEvent
|
|
}
|
|
}
|