//floodfill: Fix crash

This commit is contained in:
Starbeamrainbowlabs 2018-10-14 12:59:00 +01:00
parent 8209adc696
commit ccc86e78ae
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

View file

@ -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