Don't show rules to player that rejoins without interact

allow staff to revoke someones interact
This commit is contained in:
LoneWolfHT 2021-02-21 10:57:18 -08:00 committed by GitHub
commit ccd68dea0a
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)