From 5b03c83f6b02b0c3806189f3e790b27006ef2160 Mon Sep 17 00:00:00 2001 From: KodexKy Date: Tue, 16 Dec 2014 02:14:22 -0430 Subject: Fix stack2 param Fix stack2 amount count Fix stack2 sign recognition for y & z --- worldedit_commands/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'worldedit_commands/init.lua') diff --git a/worldedit_commands/init.lua b/worldedit_commands/init.lua index 93e594a..734150a 100644 --- a/worldedit_commands/init.lua +++ b/worldedit_commands/init.lua @@ -641,7 +641,7 @@ minetest.register_chatcommand("/stack2", { end repetitions = tonumber(repetitions) - local x, y, z = incs:match("([+-]?%d+) ([+-]%d+) ([+-]%d+)") + local x, y, z = incs:match("([+-]?%d+) ([+-]?%d+) ([+-]?%d+)") if x == nil then worldedit.player_notify(name, "invalid increments: " .. param) return -- cgit v1.2.3