diff options
author | sfan5 <sfan5@live.de> | 2016-10-12 19:45:38 +0200 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2016-10-12 19:45:38 +0200 |
commit | d040d324e8b2b78bafbd0a657df079f0921e4002 (patch) | |
tree | 5f7966c1331168a2a1acf24cbaa04150fba3f670 | |
parent | df6b54d2f57d1b50fee2f2b69f2118b266f65f37 (diff) |
Fix //spiral requiring a selected region despite using only pos1
-rw-r--r-- | worldedit_commands/init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/worldedit_commands/init.lua b/worldedit_commands/init.lua index ca2b9e4..f3a57a3 100644 --- a/worldedit_commands/init.lua +++ b/worldedit_commands/init.lua @@ -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),
})
|