Fix lplant param info
This commit is contained in:
parent
38f92367ce
commit
235dcb64b4
2
init.lua
2
init.lua
@ -826,7 +826,7 @@ minetest.register_chatcommand("lplant",
|
||||
{
|
||||
description = "Plant a L-system tree at the specified position",
|
||||
privs = { lplant = true },
|
||||
params = "<tree ID> <x> <y> <z>",
|
||||
params = "<tree ID> <x> <y> <z> [<seed>]",
|
||||
func = function(playername, param)
|
||||
local p = {}
|
||||
local tree_id, x, y, z, seed = string.match(param, "^([^ ]+) +([%d.-]+)[, ] *([%d.-]+)[, ] *([%d.-]+) *([%d.-]*)")
|
||||
|
Loading…
x
Reference in New Issue
Block a user