Skip to content

Commit

Permalink
Sethome: Don't auto-grant home priv to singleplayer
Browse files Browse the repository at this point in the history
  • Loading branch information
Wuzzy authored and paramat committed Nov 7, 2016
1 parent 5868274 commit 3109f38
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion mods/sethome/init.lua
Expand Up @@ -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",
Expand Down

0 comments on commit 3109f38

Please sign in to comment.