mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-13 18:31:20 +01:00
11 lines
604 B
Diff
11 lines
604 B
Diff
|
--- a/net/minecraft/server/BlockBambooSapling.java
|
||
|
+++ b/net/minecraft/server/BlockBambooSapling.java
|
||
|
@@ -74,6 +74,6 @@
|
||
|
}
|
||
|
|
||
|
protected void a(World world, BlockPosition blockposition) {
|
||
|
- world.setTypeAndData(blockposition.up(), (IBlockData) Blocks.BAMBOO.getBlockData().set(BlockBamboo.e, BlockPropertyBambooSize.SMALL), 3);
|
||
|
+ org.bukkit.craftbukkit.event.CraftEventFactory.handleBlockSpreadEvent(world, blockposition, blockposition.up(), (IBlockData) Blocks.BAMBOO.getBlockData().set(BlockBamboo.e, BlockPropertyBambooSize.SMALL), 3); // CraftBukkit - BlockSpreadEvent
|
||
|
}
|
||
|
}
|