mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-29 03:32:46 +01:00
11 lines
513 B
Diff
11 lines
513 B
Diff
--- 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
|
|
}
|
|
}
|
|
}
|