Remove unnecessary duplicate group table

This commit is contained in:
Gabriel Tofvesson 2025-05-15 18:06:15 +02:00
parent 742f8eb81d
commit 04183cce80

View File

@ -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