2021-03-15 23:00:00 +01:00
|
|
|
--- a/net/minecraft/world/level/block/BlockBambooSapling.java
|
|
|
|
+++ b/net/minecraft/world/level/block/BlockBambooSapling.java
|
2023-12-05 17:40:00 +01:00
|
|
|
@@ -95,6 +95,6 @@
|
2019-08-16 05:19:26 +02:00
|
|
|
}
|
|
|
|
|
2021-11-21 23:00:00 +01:00
|
|
|
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
|
2019-08-16 05:19:26 +02:00
|
|
|
}
|
|
|
|
}
|