432
edits
No edit summary |
No edit summary |
||
Line 265: | Line 265: | ||
local itemNames = frame.args ~= nil and frame.args[1] or frame | local itemNames = frame.args ~= nil and frame.args[1] or frame | ||
local items = {} | local items = {} | ||
for | for itemName in string.gmatch(itemNames, "([^,]+),%s*") do | ||
item = Items.getItem(itemName) | item = Items.getItem(itemName) | ||
if item ~= nil then | if item ~= nil then | ||
items | items.insert(item) | ||
end | end | ||
end | end |
edits