master #7

Merged
BRNSystems merged 95 commits from Mirrorlandia_minetest/minetest:master into master 2024-01-28 00:16:42 +01:00
Showing only changes of commit f0180ad488 - Show all commits

@ -102,14 +102,14 @@ core.builtin_auth_handler = {
core.log('deprecated', "non-`true` value given to `minetest.set_player_privs`")
end
-- Run grant callbacks
if not prev_privs[priv] then
if prev_privs[priv] == nil then
core.run_priv_callbacks(name, priv, nil, "grant")
end
end
-- Run revoke callbacks
for priv, _ in pairs(prev_privs) do
if not privileges[priv] then
if privileges[priv] == nil then
core.run_priv_callbacks(name, priv, nil, "revoke")
end
end