allow staff to revoke someones interact

This commit is contained in:
olliy 2021-02-21 23:47:02 +05:00 committed by GitHub
parent e066fc68f6
commit 40a92a15aa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -118,7 +118,7 @@ minetest.register_chatcommand("rules", {
end
})
minetest.register_on_joinplayer(function(player)
minetest.register_on_newplayer(function(player)
local pname = player:get_player_name()
local privs = minetest.get_player_privs(pname)