I've also made a few other changes: Use minetest.pos_to_string instead of manually creating the string Do not use table_contains to test if a node id belongs to a nether tree, instead use lua table hashmap behaviour