From ccc86e78ae9c1155d54ef5b8aeea5bfe9e631cdd Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Sun, 14 Oct 2018 12:59:00 +0100 Subject: [PATCH] //floodfill: Fix crash --- worldeditadditions_commands/init.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/worldeditadditions_commands/init.lua b/worldeditadditions_commands/init.lua index 5aff416..e832b73 100644 --- a/worldeditadditions_commands/init.lua +++ b/worldeditadditions_commands/init.lua @@ -17,6 +17,7 @@ local safe_region, check_region, reset_pending = dofile(minetest.get_modpath("wo -- ██ ███████ ██████ ██████ ██████ ██ ██ ███████ ███████ local function parse_params_floodfill(params_text) + if not params_text then params_text = "" end local found, _, replace_node, radius = params_text:find("([a-z:_\\-]+)%s+([0-9]+)") if found == nil then