oops
This commit is contained in:
@@ -74,6 +74,10 @@ function ExportTask:cycle(context)
|
|||||||
node.adapter.__size = node.adapter.size()
|
node.adapter.__size = node.adapter.size()
|
||||||
end
|
end
|
||||||
|
|
||||||
|
if not slots then
|
||||||
|
slots = node.adapter.list()
|
||||||
|
end
|
||||||
|
|
||||||
for i = 1, node.adapter.__size do
|
for i = 1, node.adapter.__size do
|
||||||
local slot = slots[i]
|
local slot = slots[i]
|
||||||
if (not slot or slot.name == item.name and
|
if (not slot or slot.name == item.name and
|
||||||
@@ -87,9 +91,6 @@ function ExportTask:cycle(context)
|
|||||||
end
|
end
|
||||||
|
|
||||||
for key in pairs(entry.filter) do
|
for key in pairs(entry.filter) do
|
||||||
if not slots then
|
|
||||||
slots = node.adapter.list()
|
|
||||||
end
|
|
||||||
local items = Milo:getMatches(itemDB:splitKey(key), entry)
|
local items = Milo:getMatches(itemDB:splitKey(key), entry)
|
||||||
for _,item in pairs(items) do
|
for _,item in pairs(items) do
|
||||||
if canExport(item) then
|
if canExport(item) then
|
||||||
|
|||||||
Reference in New Issue
Block a user