Paper/paper-server/nms-patches/net/minecraft/world/level/block/BlockGrowingTop.patch
CraftBukkit/Spigot b3a8254758 Update to Minecraft 1.17
By: md_5 <git@md-5.net>
2021-06-11 15:00:00 +10:00

12 lines
604 B
Diff

--- a/net/minecraft/world/level/block/BlockGrowingTop.java
+++ b/net/minecraft/world/level/block/BlockGrowingTop.java
@@ -45,7 +45,7 @@
BlockPosition blockposition1 = blockposition.shift(this.growthDirection);
if (this.g(worldserver.getType(blockposition1))) {
- worldserver.setTypeUpdate(blockposition1, this.a(iblockdata, worldserver.random));
+ org.bukkit.craftbukkit.event.CraftEventFactory.handleBlockSpreadEvent(worldserver, blockposition, blockposition1, this.a(iblockdata, worldserver.random)); // CraftBukkit
}
}