mirror of
https://github.com/paramat/watershed.git
synced 2024-11-15 23:10:36 +01:00
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
|
||||
Depends default stairs bucket
|
||||
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
|
||||
-- Depends default stairs bucket
|
||||
-- License: code WTFPL, textures CC BY-SA
|
||||
|
@ -662,7 +662,7 @@ end
|
|||
|
||||
minetest.register_chatcommand("regen",{
|
||||
description = "Regenerate player's current mapchunk",
|
||||
privs = {privs = server, rollback},
|
||||
privs = {server = true, rollback = true},
|
||||
func = function(name, params)
|
||||
local t1 = os.clock()
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user