mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-12-22 19:45:02 +00:00
//floodfill: Fix crash
This commit is contained in:
parent
8209adc696
commit
ccc86e78ae
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue