reverting auth change

This commit is contained in:
Tai @ Flex 2016-11-28 22:38:14 +08:00
parent 64ec6ff68f
commit bb10d0c9f3

View File

@ -1,6 +1,6 @@
function areas:player_exists(name)
return minetest.auth_table[name] ~= nil
return minetest.get_auth_handler().get_auth(name) ~= nil
end
-- Save the areas table to a file