Remove unnecessary duplicate group table
This commit is contained in:
parent
742f8eb81d
commit
04183cce80
@ -83,7 +83,6 @@ local groupEntryMetatable = {
|
|||||||
function stackgroup.fromChests(...)
|
function stackgroup.fromChests(...)
|
||||||
local chests = { ... }
|
local chests = { ... }
|
||||||
local groups = {}
|
local groups = {}
|
||||||
local outGroups = {}
|
|
||||||
|
|
||||||
for chestIndex,chest in ipairs(chests) do
|
for chestIndex,chest in ipairs(chests) do
|
||||||
for slotKey,slot in pairs(chest.slots) do
|
for slotKey,slot in pairs(chest.slots) do
|
||||||
@ -111,7 +110,7 @@ function stackgroup.fromChests(...)
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
return outGroups
|
return groups
|
||||||
end
|
end
|
||||||
|
|
||||||
return stackgroup
|
return stackgroup
|
Loading…
x
Reference in New Issue
Block a user