From b88cec64d40df3665aed78c5c2fb24e0f421c101 Mon Sep 17 00:00:00 2001 From: VorTechnix <45538536+VorTechnix@users.noreply.github.com> Date: Wed, 24 May 2023 13:03:41 -0700 Subject: [PATCH] Fix bad logic in parts check --- worldeditadditions_commands/commands/meta/for.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/worldeditadditions_commands/commands/meta/for.lua b/worldeditadditions_commands/commands/meta/for.lua index a13df7a..c48fb1c 100644 --- a/worldeditadditions_commands/commands/meta/for.lua +++ b/worldeditadditions_commands/commands/meta/for.lua @@ -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