Skip to content

Commit

Permalink
Fix #57 (thanks Zeno-!).
Browse files Browse the repository at this point in the history
  • Loading branch information
Uberi committed Aug 15, 2014
1 parent 18efe50 commit 70c24c9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions worldedit_commands/init.lua
Expand Up @@ -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
Expand Down

0 comments on commit 70c24c9

Please sign in to comment.