mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-18 08:36:13 +01:00
12 lines
541 B
Diff
12 lines
541 B
Diff
--- 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
|
|
}
|
|
}
|
|
}
|