1
0
mirror of https://github.com/minetest/minetest_game.git synced 2024-09-27 22:30:18 +02:00

Sethome: Don't auto-grant home priv to singleplayer

This commit is contained in:
Wuzzy 2016-11-06 00:49:25 +01:00 committed by paramat
parent 5868274b00
commit 3109f38b3c

View File

@ -58,7 +58,10 @@ sethome.go = function(name)
return false return false
end 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", { minetest.register_chatcommand("home", {
description = "Teleport you to your home point", description = "Teleport you to your home point",