Fixes the old broken pull request, #1787.
Co-authored-by: Emojigit <emojigit@noreply.git.minetest.land>
Reviewed-on: MineClone2/MineClone2#1792
Co-authored-by: Elias Fleckenstein <eliasfleckenstein03@noreply.git.minetest.land>
Co-committed-by: Elias Fleckenstein <eliasfleckenstein03@noreply.git.minetest.land>