Avoid triggering core bug with deprecated function wrapper for minetest.env: calls