forked from mtcontrib/watershed
Correct /regen chat command privs format, fixes warnings of undeclared variables
This commit is contained in:
parent
59c558d193
commit
6b675f18fd
@ -1,4 +1,4 @@
|
|||||||
watershed 0.6.3 by paramat
|
watershed 0.6.4 by paramat
|
||||||
For latest stable Minetest back to 0.4.8
|
For latest stable Minetest back to 0.4.8
|
||||||
Depends default stairs bucket
|
Depends default stairs bucket
|
||||||
Licenses: code WTFPL, textures CC BY-SA
|
Licenses: code WTFPL, textures CC BY-SA
|
||||||
|
4
init.lua
4
init.lua
@ -1,4 +1,4 @@
|
|||||||
-- watershed 0.6.3 by paramat
|
-- watershed 0.6.4 by paramat
|
||||||
-- For latest stable Minetest and back to 0.4.8
|
-- For latest stable Minetest and back to 0.4.8
|
||||||
-- Depends default stairs bucket
|
-- Depends default stairs bucket
|
||||||
-- License: code WTFPL, textures CC BY-SA
|
-- License: code WTFPL, textures CC BY-SA
|
||||||
@ -662,7 +662,7 @@ end
|
|||||||
|
|
||||||
minetest.register_chatcommand("regen",{
|
minetest.register_chatcommand("regen",{
|
||||||
description = "Regenerate player's current mapchunk",
|
description = "Regenerate player's current mapchunk",
|
||||||
privs = {privs = server, rollback},
|
privs = {server = true, rollback = true},
|
||||||
func = function(name, params)
|
func = function(name, params)
|
||||||
local t1 = os.clock()
|
local t1 = os.clock()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user