1
0
mirror of https://github.com/Uberi/Minetest-WorldEdit.git synced 2024-12-25 02:00:39 +01:00

Fix //spiral requiring a selected region despite using only pos1

This commit is contained in:
sfan5 2016-10-12 19:45:38 +02:00
parent df6b54d2f5
commit d040d324e8

View File

@ -571,7 +571,7 @@ minetest.register_chatcommand("/spiral", {
end
local node = get_node(name, nodename)
if not node then return nil end
return check_region(name, param)
return 1 -- TODO: return an useful value
end),
})