mirror of
https://github.com/minetest-mods/areas.git
synced 2024-12-26 18:50:41 +01:00
reverting auth change
This commit is contained in:
parent
64ec6ff68f
commit
bb10d0c9f3
@ -1,6 +1,6 @@
|
|||||||
|
|
||||||
function areas:player_exists(name)
|
function areas:player_exists(name)
|
||||||
return minetest.auth_table[name] ~= nil
|
return minetest.get_auth_handler().get_auth(name) ~= nil
|
||||||
end
|
end
|
||||||
|
|
||||||
-- Save the areas table to a file
|
-- Save the areas table to a file
|
||||||
|
Loading…
Reference in New Issue
Block a user