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
604 B
Diff
11 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
|
|
}
|
|
}
|
|
|