mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-27 03:17:36 +01:00
12 lines
537 B
Diff
12 lines
537 B
Diff
--- a/net/minecraft/server/BlockNetherWart.java
|
|
+++ b/net/minecraft/server/BlockNetherWart.java
|
|
@@ -25,7 +25,7 @@
|
|
|
|
if (i < 3 && random.nextInt(10) == 0) {
|
|
iblockdata = (IBlockData) iblockdata.set(BlockNetherWart.AGE, Integer.valueOf(i + 1));
|
|
- world.setTypeAndData(blockposition, iblockdata, 2);
|
|
+ org.bukkit.craftbukkit.event.CraftEventFactory.handleBlockGrowEvent(world, blockposition, iblockdata, 2); // CraftBukkit
|
|
}
|
|
|
|
super.a(iblockdata, world, blockposition, random);
|