Merge pull request #1101 from Open-Code-Developers/master
Fix fluid blocks
This commit is contained in:
commit
507f184144
2 changed files with 1 additions and 5 deletions
|
@ -349,8 +349,6 @@ public class BlockFluidClassic extends BlockFluidBase
|
|||
@Override
|
||||
public boolean canDrain(World world, int x, int y, int z)
|
||||
{
|
||||
return false; //isSourceBlock(world, x, y, z);
|
||||
return isSourceBlock(world, x, y, z);
|
||||
}
|
||||
@Override public Fluid getFluid(){ return null; }
|
||||
@Override public float getFilledPercentage(World world, int x, int y, int z) { return 0; }
|
||||
}
|
||||
|
|
|
@ -318,6 +318,4 @@ public class BlockFluidFinite extends BlockFluidBase
|
|||
{
|
||||
return false;
|
||||
}
|
||||
@Override public Fluid getFluid() { return null; }
|
||||
@Override public float getFilledPercentage(World world, int x, int y, int z) { return 0; }
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue