Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions addons/EmpyPopTracker/EmpyPopTracker.lua
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
_addon.name = 'Empy Pop Tracker'
_addon.author = 'Dean James (Xurion of Bismarck)'
_addon.commands = { 'ept', 'empypoptracker' }
_addon.version = '2.1.0'
_addon.version = '2.1.1'

config = require('config')
res = require('resources')
Expand Down Expand Up @@ -68,10 +68,12 @@ colors.warning = '\\cs(255,170,0)'
colors.close = '\\cr'

function owns_item(id, items)
for _, bag in ipairs(items) do
for _, item in ipairs(bag) do
if item.id == id then
return true
for _, bag in pairs(items) do
if type(bag) == 'table' then
for _, item in ipairs(bag) do
if item.id == id then
return true
end
end
end
end
Expand Down
2 changes: 1 addition & 1 deletion addons/addons.xml
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@
<addon>
<name>EmpyPopTracker</name>
<author>Dean James (Xurion of Bismarck)</author>
<description>Tracks items and key items for popping Empyrean NMs in Abyssea, such as Briareus, Apademak and Sobek.</description>
<description>Tracks items and key items for popping various NMs, such as Briareus, Apademak and Warder of Courage.</description>
<bugtracker>https://github.com/xurion/ffxi-empy-pop-tracker/issues</bugtracker>
<support>https://www.ffxiah.com/forum/topic/54376/empyrean-pop-tracker-addon-10-years-late/</support>
</addon>
Expand Down