From https://forum.minetest.net/viewtopic.php?p=157958#p150768 https://forum.minetest.net/viewtopic.php?p=157958#p157958