summaryrefslogtreecommitdiff
path: root/worldedit_commands
diff options
context:
space:
mode:
authorAnthony Zhang <azhang9@gmail.com>2014-12-29 17:51:51 -0500
committerAnthony Zhang <azhang9@gmail.com>2014-12-29 17:51:51 -0500
commit47990685514ebdfe114977c33e08c20511f1f0a7 (patch)
treefcb0e7a59ce3f0a65f2a886ccf044263312fc489 /worldedit_commands
parente4d007199fa592d30aa7cc523a1551a7182dfec3 (diff)
parent5b03c83f6b02b0c3806189f3e790b27006ef2160 (diff)
Merge pull request #68 from KodexKy/stack2_fix
Fix stack2 param
Diffstat (limited to 'worldedit_commands')
-rw-r--r--worldedit_commands/init.lua2
1 files changed, 1 insertions, 1 deletions
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