From 70c24c9501c691d85bbe267ee79547fb490e6c00 Mon Sep 17 00:00:00 2001 From: Uberi Date: Fri, 15 Aug 2014 19:23:23 -0400 Subject: [PATCH] Fix #57 (thanks Zeno-!). --- worldedit_commands/init.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/worldedit_commands/init.lua b/worldedit_commands/init.lua index 3613cfa..7d347c9 100644 --- a/worldedit_commands/init.lua +++ b/worldedit_commands/init.lua @@ -616,6 +616,7 @@ minetest.register_chatcommand("/stack", { local found, _, axis, repetitions = param:find("^([xyz%?])%s+([+-]?%d+)$") if found == nil then worldedit.player_notify(name, "invalid usage: " .. param) + return end local count = check_region(name, param) if count then return (tonumber(repetitions) + 1) * count end