2021-06-11 07:00:00 +02:00
|
|
|
--- a/net/minecraft/world/level/block/ChangeOverTimeBlock.java
|
|
|
|
+++ b/net/minecraft/world/level/block/ChangeOverTimeBlock.java
|
2023-12-05 17:40:00 +01:00
|
|
|
@@ -20,7 +20,7 @@
|
2021-06-11 07:00:00 +02:00
|
|
|
|
2023-12-05 17:40:00 +01:00
|
|
|
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
|
2021-06-11 07:00:00 +02:00
|
|
|
});
|
|
|
|
}
|
|
|
|
|