From a5a15c5b63d94afe0a9a552ec460e26d7112af91 Mon Sep 17 00:00:00 2001 From: Toby <69259430+BrownHedgehog78@users.noreply.github.com> Date: Sun, 3 Oct 2021 19:48:03 +0300 Subject: [PATCH] Add 'interact' requirement to use 'death_pos' command --- init.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/init.lua b/init.lua index e283b96..da8aa12 100644 --- a/init.lua +++ b/init.lua @@ -10,6 +10,7 @@ end) minetest.register_chatcommand("death_pos", { description = "Go to your last death position", + privs = {interact = true}, func = function(name) local player = minetest.get_player_by_name(name) local pos = death_pos[player:get_player_name()]