Merge pull request #706 from heldplayer/fluidRendering

Fix small derp
This commit is contained in:
cpw 2013-08-03 17:29:04 -07:00
commit 81e4ae2af9

View file

@ -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;
} }