mirror of
https://github.com/luanti-org/minetest_game.git
synced 2025-04-30 05:01:41 -04:00
Sethome: Don't auto-grant home priv to singleplayer
This commit is contained in:
parent
5868274b00
commit
3109f38b3c
1 changed files with 4 additions and 1 deletions
|
@ -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",
|
||||
|
|
Loading…
Add table
Reference in a new issue