diff options
Diffstat (limited to 'patch-remap/og/net/minecraft/world/level/block/BlockBambooSapling.patch')
-rw-r--r-- | patch-remap/og/net/minecraft/world/level/block/BlockBambooSapling.patch | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/patch-remap/og/net/minecraft/world/level/block/BlockBambooSapling.patch b/patch-remap/og/net/minecraft/world/level/block/BlockBambooSapling.patch new file mode 100644 index 0000000000..e734aac68c --- /dev/null +++ b/patch-remap/og/net/minecraft/world/level/block/BlockBambooSapling.patch @@ -0,0 +1,10 @@ +--- 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 + } + } |