diff --git a/addons/EmpyPopTracker/EmpyPopTracker.lua b/addons/EmpyPopTracker/EmpyPopTracker.lua index ff52e45ed..751ea953f 100644 --- a/addons/EmpyPopTracker/EmpyPopTracker.lua +++ b/addons/EmpyPopTracker/EmpyPopTracker.lua @@ -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') @@ -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 diff --git a/addons/addons.xml b/addons/addons.xml index 93f141aaa..7243b1c91 100644 --- a/addons/addons.xml +++ b/addons/addons.xml @@ -215,7 +215,7 @@ EmpyPopTracker Dean James (Xurion of Bismarck) - Tracks items and key items for popping Empyrean NMs in Abyssea, such as Briareus, Apademak and Sobek. + Tracks items and key items for popping various NMs, such as Briareus, Apademak and Warder of Courage. https://github.com/xurion/ffxi-empy-pop-tracker/issues https://www.ffxiah.com/forum/topic/54376/empyrean-pop-tracker-addon-10-years-late/