From 8ef1d348d27e2c401814a9138c47321c0a8df553 Mon Sep 17 00:00:00 2001 From: VorTechnix <45538536+VorTechnix@users.noreply.github.com> Date: Thu, 17 Oct 2024 09:06:10 -0700 Subject: [PATCH] added anti-nil safety measure --- worldeditadditions_core/utils/format/handle_fn_result.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/worldeditadditions_core/utils/format/handle_fn_result.lua b/worldeditadditions_core/utils/format/handle_fn_result.lua index 51662d1..0ad81b6 100644 --- a/worldeditadditions_core/utils/format/handle_fn_result.lua +++ b/worldeditadditions_core/utils/format/handle_fn_result.lua @@ -19,7 +19,7 @@ local function handle_fn_result(...) "\" with no other output." }, "") end - return success, ret + return success or false, ret end return handle_fn_result \ No newline at end of file