From: Wuzzy Date: Sat, 5 Nov 2016 23:49:25 +0000 (+0100) Subject: Sethome: Don't auto-grant home priv to singleplayer X-Git-Tag: 0.4.15~50 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=3109f38b3c3cccc560d193665a68a13152206901;p=oweals%2Fminetest_game.git Sethome: Don't auto-grant home priv to singleplayer --- 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",