mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-09 11:44:19 +01:00
8398e12b34
By: md_5 <git@md-5.net>
11 lines
563 B
Diff
11 lines
563 B
Diff
--- a/net/minecraft/world/level/block/ChangeOverTimeBlock.java
|
|
+++ b/net/minecraft/world/level/block/ChangeOverTimeBlock.java
|
|
@@ -20,7 +20,7 @@
|
|
|
|
if (randomsource.nextFloat() < 0.05688889F) {
|
|
this.getNextState(iblockdata, worldserver, blockposition, randomsource).ifPresent((iblockdata1) -> {
|
|
- worldserver.setBlockAndUpdate(blockposition, iblockdata1);
|
|
+ org.bukkit.craftbukkit.event.CraftEventFactory.handleBlockFormEvent(worldserver, blockposition, iblockdata1); // CraftBukkit
|
|
});
|
|
}
|
|
|