mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-10 12:02:36 +01:00
b3a8254758
By: md_5 <git@md-5.net>
11 lines
581 B
Diff
11 lines
581 B
Diff
--- a/net/minecraft/world/level/block/BlockGrass.java
|
|
+++ b/net/minecraft/world/level/block/BlockGrass.java
|
|
@@ -70,7 +70,7 @@
|
|
}
|
|
|
|
if (iblockdata3.canPlace(worldserver, blockposition2)) {
|
|
- worldserver.setTypeAndData(blockposition2, iblockdata3, 3);
|
|
+ org.bukkit.craftbukkit.event.CraftEventFactory.handleBlockGrowEvent(worldserver, blockposition2, iblockdata3, 3); // CraftBukkit
|
|
}
|
|
}
|
|
}
|