mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-30 06:24:06 +01:00
12 lines
640 B
Diff
12 lines
640 B
Diff
--- a/net/minecraft/server/BlockKelp.java
|
|
+++ b/net/minecraft/server/BlockKelp.java
|
|
@@ -49,7 +49,7 @@
|
|
IBlockData iblockdata1 = world.getType(blockposition1);
|
|
|
|
if (iblockdata1.getBlock() == Blocks.WATER && (Integer) iblockdata.get(BlockKelp.a) < 25 && random.nextDouble() < 0.14D) {
|
|
- world.setTypeUpdate(blockposition1, (IBlockData) iblockdata.a((IBlockState) BlockKelp.a));
|
|
+ org.bukkit.craftbukkit.event.CraftEventFactory.handleBlockSpreadEvent(world, blockposition, blockposition1, (IBlockData) iblockdata.a((IBlockState) BlockKelp.a)); // CraftBukkit
|
|
}
|
|
|
|
}
|