2021-06-11 07:00:00 +02:00
|
|
|
--- a/net/minecraft/world/level/block/BuddingAmethystBlock.java
|
|
|
|
+++ b/net/minecraft/world/level/block/BuddingAmethystBlock.java
|
2023-12-05 17:40:00 +01:00
|
|
|
@@ -45,7 +45,7 @@
|
2021-06-11 07:00:00 +02:00
|
|
|
if (block != null) {
|
2021-11-21 23:00:00 +01:00
|
|
|
IBlockData iblockdata2 = (IBlockData) ((IBlockData) block.defaultBlockState().setValue(AmethystClusterBlock.FACING, enumdirection)).setValue(AmethystClusterBlock.WATERLOGGED, iblockdata1.getFluidState().getType() == FluidTypes.WATER);
|
2021-06-11 07:00:00 +02:00
|
|
|
|
2021-11-21 23:00:00 +01:00
|
|
|
- worldserver.setBlockAndUpdate(blockposition1, iblockdata2);
|
2021-06-11 07:00:00 +02:00
|
|
|
+ org.bukkit.craftbukkit.event.CraftEventFactory.handleBlockSpreadEvent(worldserver, blockposition, blockposition1, iblockdata2); // CraftBukkit
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|