mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-10 03:52:45 +01:00
b3a8254758
By: md_5 <git@md-5.net>
10 lines
636 B
Diff
10 lines
636 B
Diff
--- a/net/minecraft/world/level/block/BlockBambooSapling.java
|
|
+++ b/net/minecraft/world/level/block/BlockBambooSapling.java
|
|
@@ -94,6 +94,6 @@
|
|
}
|
|
|
|
protected void a(World world, BlockPosition blockposition) {
|
|
- world.setTypeAndData(blockposition.up(), (IBlockData) Blocks.BAMBOO.getBlockData().set(BlockBamboo.LEAVES, BlockPropertyBambooSize.SMALL), 3);
|
|
+ org.bukkit.craftbukkit.event.CraftEventFactory.handleBlockSpreadEvent(world, blockposition, blockposition.up(), (IBlockData) Blocks.BAMBOO.getBlockData().set(BlockBamboo.LEAVES, BlockPropertyBambooSize.SMALL), 3); // CraftBukkit - BlockSpreadEvent
|
|
}
|
|
}
|