summaryrefslogtreecommitdiffstats
path: root/nms-patches/BlockNetherWart.patch
blob: 04fc82896af04e05c2c3cb8df8d0ff639638d3f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- 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, i + 1);
-            world.setTypeAndData(blockposition, iblockdata, 2);
+            org.bukkit.craftbukkit.event.CraftEventFactory.handleBlockGrowEvent(world, blockposition, iblockdata, 2); // CraftBukkit
         }
 
         super.a(iblockdata, world, blockposition, random);