From 3109f38b3c3cccc560d193665a68a13152206901 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Sun, 6 Nov 2016 00:49:25 +0100 Subject: [PATCH] Sethome: Don't auto-grant home priv to singleplayer --- mods/sethome/init.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mods/sethome/init.lua b/mods/sethome/init.lua index 28bfcef6..dc431bc7 100644 --- a/mods/sethome/init.lua +++ b/mods/sethome/init.lua @@ -58,7 +58,10 @@ sethome.go = function(name) return false end -minetest.register_privilege("home", "Can use /sethome and /home") +minetest.register_privilege("home", { + description = "Can use /sethome and /home", + give_to_singleplayer = false +}) minetest.register_chatcommand("home", { description = "Teleport you to your home point", -- 2.25.1