avoid minetest.register_on_dignode if possible