From 40a92a15aa51d7cfd33df13f6e277709001c64e5 Mon Sep 17 00:00:00 2001 From: olliy <55839810+olliy1or@users.noreply.github.com> Date: Sun, 21 Feb 2021 23:47:02 +0500 Subject: [PATCH] allow staff to revoke someones interact --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.lua b/init.lua index b9bdcf4..a01156b 100644 --- a/init.lua +++ b/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)