summaryrefslogtreecommitdiffstats
path: root/nms-patches/BlockNetherWart.patch
blob: f0aca39fddfa176d3cbf54c1a8c53c782788a42e (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, 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);