aboutsummaryrefslogtreecommitdiffhomepage
path: root/patch-remap/og/net/minecraft/world/level/block/RootedDirtBlock.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patch-remap/og/net/minecraft/world/level/block/RootedDirtBlock.patch')
-rw-r--r--patch-remap/og/net/minecraft/world/level/block/RootedDirtBlock.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/patch-remap/og/net/minecraft/world/level/block/RootedDirtBlock.patch b/patch-remap/og/net/minecraft/world/level/block/RootedDirtBlock.patch
new file mode 100644
index 0000000000..fe3878c9a7
--- /dev/null
+++ b/patch-remap/og/net/minecraft/world/level/block/RootedDirtBlock.patch
@@ -0,0 +1,10 @@
+--- a/net/minecraft/world/level/block/RootedDirtBlock.java
++++ b/net/minecraft/world/level/block/RootedDirtBlock.java
+@@ -34,6 +34,6 @@
+
+ @Override
+ public void performBonemeal(WorldServer worldserver, RandomSource randomsource, BlockPosition blockposition, IBlockData iblockdata) {
+- worldserver.setBlockAndUpdate(blockposition.below(), Blocks.HANGING_ROOTS.defaultBlockState());
++ org.bukkit.craftbukkit.event.CraftEventFactory.handleBlockSpreadEvent(worldserver, blockposition, blockposition.below(), Blocks.HANGING_ROOTS.defaultBlockState()); // CraftBukkit
+ }
+ }