@@ -1,20 +1,6 @@
|
||||
--- a/net/minecraft/server/BlockFluids.java
|
||||
+++ b/net/minecraft/server/BlockFluids.java
|
||||
@@ -57,10 +57,10 @@
|
||||
public VoxelShape a(IBlockData iblockdata, IBlockAccess iblockaccess, BlockPosition blockposition) {
|
||||
Fluid fluid = iblockaccess.getFluid(blockposition.up());
|
||||
|
||||
- return fluid.c().a((FluidType) this.b) ? VoxelShapes.b() : (VoxelShape) this.o.computeIfAbsent(iblockdata, (iblockdata) -> {
|
||||
- Fluid fluid = iblockdata.s();
|
||||
+ return fluid.c().a((FluidType) this.b) ? VoxelShapes.b() : (VoxelShape) this.o.computeIfAbsent(iblockdata, (iblockdata1) -> { // CraftBukkit - decompile errors
|
||||
+ Fluid fluid1 = iblockdata1.s();
|
||||
|
||||
- return VoxelShapes.create(0.0D, 0.0D, 0.0D, 1.0D, (double) fluid.getHeight(), 1.0D);
|
||||
+ return VoxelShapes.create(0.0D, 0.0D, 0.0D, 1.0D, (double) fluid1.getHeight(), 1.0D);
|
||||
});
|
||||
}
|
||||
|
||||
@@ -117,14 +117,20 @@
|
||||
@@ -116,14 +116,20 @@
|
||||
Fluid fluid = world.getFluid(blockposition);
|
||||
|
||||
if (fluid.d()) {
|
||||
|
||||
Reference in New Issue
Block a user