mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-10 12:02:36 +01:00
8398e12b34
By: md_5 <git@md-5.net>
10 lines
665 B
Diff
10 lines
665 B
Diff
--- a/net/minecraft/world/level/block/BlockBambooSapling.java
|
|
+++ b/net/minecraft/world/level/block/BlockBambooSapling.java
|
|
@@ -95,6 +95,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
|
|
}
|
|
}
|