aboutsummaryrefslogtreecommitdiffhomepage
path: root/patch-remap/og/net/minecraft/world/level/block/ChangeOverTimeBlock.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patch-remap/og/net/minecraft/world/level/block/ChangeOverTimeBlock.patch')
-rw-r--r--patch-remap/og/net/minecraft/world/level/block/ChangeOverTimeBlock.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/patch-remap/og/net/minecraft/world/level/block/ChangeOverTimeBlock.patch b/patch-remap/og/net/minecraft/world/level/block/ChangeOverTimeBlock.patch
new file mode 100644
index 0000000000..cb2cffd6c0
--- /dev/null
+++ b/patch-remap/og/net/minecraft/world/level/block/ChangeOverTimeBlock.patch
@@ -0,0 +1,11 @@
+--- 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
+ });
+ }
+