Traceback (most recent call last):
File "/home/riannek/.local/share/QGIS/QGIS3/profiles/default/python/plugins/qgis_nearest_greater/nearest_greater_algorithm.py", line 400, in processAlgorithm
TypeError: MultiPoint geometry cannot be converted to a point. Only Point types are permitted.
The problem is:
f.geometry().asPoint()
It might be possible to fix the bug in a way that enables working with lines and polygons as well?