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