]> git.lizzy.rs Git - worldedit.git/blobdiff - worldedit/manipulations.lua
Fix a few assignments to undeclared globals
[worldedit.git] / worldedit / manipulations.lua
index 995619c39c58f7694604a5ea18e39d8ce1f2988d..ee5156137ab780fbe131de0cad6044ecd2fcbb32 100644 (file)
@@ -301,7 +301,7 @@ function worldedit.stack(pos1, pos2, axis, count)
        local amount = 0\r
        local copy = worldedit.copy\r
        local i = 1\r
-       function next_one()\r
+       local function next_one()\r
                if i <= count then\r
                        i = i + 1\r
                        amount = amount + length\r