mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-11-29 18:33:01 +00:00
nodeapply: fix luacheck errors
This commit is contained in:
parent
e886bcb8f2
commit
757f6de3b5
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ local Vector3 = wea_c.Vector3
|
||||||
-- 2. Error message if success bool == false, otherwise the string from before the delimiter
|
-- 2. Error message if success bool == false, otherwise the string from before the delimiter
|
||||||
-- 3. The command name
|
-- 3. The command name
|
||||||
-- 4. Any arguments to pass to the child command
|
-- 4. Any arguments to pass to the child command
|
||||||
function extract_parts(params_text)
|
local function extract_parts(params_text)
|
||||||
-- 1: Find delimiter
|
-- 1: Find delimiter
|
||||||
local index, _, match = string.find(params_text, "(%s+--%s+)")
|
local index, _, match = string.find(params_text, "(%s+--%s+)")
|
||||||
if index == nil then
|
if index == nil then
|
||||||
|
|
Loading…
Reference in a new issue