From d040d324e8b2b78bafbd0a657df079f0921e4002 Mon Sep 17 00:00:00 2001 From: sfan5 Date: Wed, 12 Oct 2016 19:45:38 +0200 Subject: [PATCH] Fix //spiral requiring a selected region despite using only pos1 --- worldedit_commands/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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), })