Don't show rules to player that rejoins without interact
allow staff to revoke someones interact
This commit is contained in:
commit
ccd68dea0a
1 changed files with 1 additions and 1 deletions
2
init.lua
2
init.lua
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue