commit
81e4ae2af9
1 changed files with 1 additions and 1 deletions
|
@ -341,7 +341,7 @@ public abstract class BlockFluidBase extends Block implements IFluidBlock
|
||||||
public static double getFlowDirection(IBlockAccess world, int x, int y, int z)
|
public static double getFlowDirection(IBlockAccess world, int x, int y, int z)
|
||||||
{
|
{
|
||||||
Block block = Block.blocksList[world.getBlockId(x, y, z)];
|
Block block = Block.blocksList[world.getBlockId(x, y, z)];
|
||||||
if (world.getBlockMaterial(x, y, z).isLiquid())
|
if (!world.getBlockMaterial(x, y, z).isLiquid())
|
||||||
{
|
{
|
||||||
return -1000.0;
|
return -1000.0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue