summaryrefslogtreecommitdiffstats
path: root/nms-patches/BlockGrass.patch
blob: 7b03779517becbf7c7c13de41130121d462c4d13 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/net/minecraft/server/BlockGrass.java
+++ b/net/minecraft/server/BlockGrass.java
@@ -58,7 +58,7 @@
                             }
 
                             if (iblockdata3.canPlace(world, blockposition2)) {
-                                world.setTypeAndData(blockposition2, iblockdata3, 3);
+                                org.bukkit.craftbukkit.event.CraftEventFactory.handleBlockGrowEvent(world, blockposition2, iblockdata3, 3); // CraftBukkit
                             }
                         }
                     }