mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-11-22 07:23:00 +00:00
Fix bad logic in parts check
This commit is contained in:
parent
8652ad6335
commit
b88cec64d4
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ worldeditadditions_core.register_command("for", {
|
|||
return false, "Error: \"do\" argument is not present."
|
||||
end
|
||||
local parts = wea_c.split(params_text,"%sdo%s")
|
||||
if not parts[1] == "" then
|
||||
if parts[1] == "" then
|
||||
return false, "Error: No values specified."
|
||||
end
|
||||
if not parts[2] then
|
||||
|
|
Loading…
Reference in a new issue