Fixed swapping of finite fluids with negative densities. (#4237)

This commit is contained in:
rslink authored and mezz committed 2017-07-29 22:24:24 -07:00
1 parent 434f95c66e
commit 4d327df383
1 file changed
+2 -2
@@ -233,9 +233,9 @@ public class BlockFluidFinite extends BlockFluidBase
{
IBlockState state = world.getBlockState(other);
world.setBlockState(other, myState.withProperty(LEVEL, amtToInput - 1), 3);
world.setBlockState(other, state, 3);
world.setBlockState(pos, state, 3);
world.scheduleUpdate(other, this, tickRate);
world.scheduleUpdate(other, state.getBlock(), state.getBlock().tickRate(world));
world.scheduleUpdate(pos, state.getBlock(), state.getBlock().tickRate(world));
return 0;
}
}