Removed the need for a spawn priv

master
ChaosWormz 2015-10-25 13:49:07 +02:00
parent 40b92312d3
commit 6085e3e27e
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ end
minetest.register_chatcommand("spawn", { minetest.register_chatcommand("spawn", {
description = "Teleport to the spawn location", description = "Teleport to the spawn location",
privs = {spawn=true}, privs = {},
func = function(name, _) func = function(name, _)
local ok = put_player_at_spawn(minetest.get_player_by_name(name)) local ok = put_player_at_spawn(minetest.get_player_by_name(name))
if ok then if ok then