Fix lplant param info

This commit is contained in:
Wuzzy 2017-02-09 13:36:52 +01:00
parent 38f92367ce
commit 235dcb64b4

View File

@ -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.-]*)")