mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-29 22:13:42 +01:00
12 lines
559 B
Diff
12 lines
559 B
Diff
--- a/net/minecraft/server/BlockGrass.java
|
|
+++ b/net/minecraft/server/BlockGrass.java
|
|
@@ -64,7 +64,7 @@
|
|
}
|
|
|
|
if (iblockdata3.canPlace(worldserver, blockposition2)) {
|
|
- worldserver.setTypeAndData(blockposition2, iblockdata3, 3);
|
|
+ org.bukkit.craftbukkit.event.CraftEventFactory.handleBlockGrowEvent(worldserver, blockposition2, iblockdata3, 3); // CraftBukkit
|
|
}
|
|
}
|
|
}
|