you need server priv to add new places
This commit is contained in:
parent
46bcce8a6f
commit
a7de78b9fa
@ -35,7 +35,7 @@ end
|
||||
minetest.register_chatcommand("setplace", {
|
||||
params = "<name>",
|
||||
description = "Set a place",
|
||||
privs = {},
|
||||
privs = {server=true},
|
||||
func = function(name, text)
|
||||
if places.pos[text] then
|
||||
return true, "There already is a place named " .. text
|
||||
|
@ -35,7 +35,7 @@ end
|
||||
minetest.register_chatcommand("setplace", {
|
||||
params = "<name>",
|
||||
description = "Set a place",
|
||||
privs = {},
|
||||
privs = {server=true},
|
||||
func = function(name, text)
|
||||
if places.pos[text] then
|
||||
return true, "There already is a place named " .. text
|
||||
|
Loading…
x
Reference in New Issue
Block a user