@@ -1,6 +1,15 @@
|
||||
--- a/net/minecraft/world/level/block/BlockFluids.java
|
||||
+++ b/net/minecraft/world/level/block/BlockFluids.java
|
||||
@@ -142,14 +142,20 @@
|
||||
@@ -39,7 +39,7 @@
|
||||
public class BlockFluids extends Block implements IFluidSource {
|
||||
|
||||
private static final Codec<FluidTypeFlowing> FLOWING_FLUID = BuiltInRegistries.FLUID.byNameCodec().comapFlatMap((fluidtype) -> {
|
||||
- DataResult dataresult;
|
||||
+ DataResult<FluidTypeFlowing> dataresult; // CraftBukkit - decompile error
|
||||
|
||||
if (fluidtype instanceof FluidTypeFlowing) {
|
||||
FluidTypeFlowing fluidtypeflowing = (FluidTypeFlowing) fluidtype;
|
||||
@@ -174,14 +174,20 @@
|
||||
if (world.getFluidState(blockposition1).is(TagsFluid.WATER)) {
|
||||
Block block = world.getFluidState(blockposition).isSource() ? Blocks.OBSIDIAN : Blocks.COBBLESTONE;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user