From 415000e79744200badfad4a4b5228a8625dd5a3e Mon Sep 17 00:00:00 2001 From: sfan5 Date: Tue, 7 Nov 2017 14:19:57 +0100 Subject: Fix a few assignments to undeclared globals --- worldedit/manipulations.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'worldedit') diff --git a/worldedit/manipulations.lua b/worldedit/manipulations.lua index 995619c..ee51561 100644 --- a/worldedit/manipulations.lua +++ b/worldedit/manipulations.lua @@ -301,7 +301,7 @@ function worldedit.stack(pos1, pos2, axis, count) local amount = 0 local copy = worldedit.copy local i = 1 - function next_one() + local function next_one() if i <= count then i = i + 1 amount = amount + length -- cgit v1.2.3