diff --git a/stackgroup.lua b/stackgroup.lua index ff3380b..28eed90 100644 --- a/stackgroup.lua +++ b/stackgroup.lua @@ -83,7 +83,6 @@ local groupEntryMetatable = { function stackgroup.fromChests(...) local chests = { ... } local groups = {} - local outGroups = {} for chestIndex,chest in ipairs(chests) do for slotKey,slot in pairs(chest.slots) do @@ -111,7 +110,7 @@ function stackgroup.fromChests(...) end end - return outGroups + return groups end return stackgroup \ No newline at end of file