aboutsummaryrefslogtreecommitdiffhomepage
path: root/patch-remap/og/net/minecraft/world/level/block/BuddingAmethystBlock.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patch-remap/og/net/minecraft/world/level/block/BuddingAmethystBlock.patch')
-rw-r--r--patch-remap/og/net/minecraft/world/level/block/BuddingAmethystBlock.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/patch-remap/og/net/minecraft/world/level/block/BuddingAmethystBlock.patch b/patch-remap/og/net/minecraft/world/level/block/BuddingAmethystBlock.patch
new file mode 100644
index 0000000000..9188275263
--- /dev/null
+++ b/patch-remap/og/net/minecraft/world/level/block/BuddingAmethystBlock.patch
@@ -0,0 +1,11 @@
+--- a/net/minecraft/world/level/block/BuddingAmethystBlock.java
++++ b/net/minecraft/world/level/block/BuddingAmethystBlock.java
+@@ -45,7 +45,7 @@
+ if (block != null) {
+ IBlockData iblockdata2 = (IBlockData) ((IBlockData) block.defaultBlockState().setValue(AmethystClusterBlock.FACING, enumdirection)).setValue(AmethystClusterBlock.WATERLOGGED, iblockdata1.getFluidState().getType() == FluidTypes.WATER);
+
+- worldserver.setBlockAndUpdate(blockposition1, iblockdata2);
++ org.bukkit.craftbukkit.event.CraftEventFactory.handleBlockSpreadEvent(worldserver, blockposition, blockposition1, iblockdata2); // CraftBukkit
+ }
+
+ }