mirror of
https://github.com/Uberi/Minetest-WorldEdit.git
synced 2025-01-13 11:30:29 +01:00
Fix //spiral requiring a selected region despite using only pos1
This commit is contained in:
parent
df6b54d2f5
commit
d040d324e8
@ -571,7 +571,7 @@ minetest.register_chatcommand("/spiral", {
|
|||||||
end
|
end
|
||||||
local node = get_node(name, nodename)
|
local node = get_node(name, nodename)
|
||||||
if not node then return nil end
|
if not node then return nil end
|
||||||
return check_region(name, param)
|
return 1 -- TODO: return an useful value
|
||||||
end),
|
end),
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user