From c5d5d7ccbb0f90e60042dd03a36c9ac86a401b0d Mon Sep 17 00:00:00 2001 From: Anch Date: Wed, 26 Oct 2022 00:49:31 +1300 Subject: [PATCH] changed table creation --- AtlasLoot/Core/AtlasLoot.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/AtlasLoot/Core/AtlasLoot.lua b/AtlasLoot/Core/AtlasLoot.lua index ff71021..8057b7f 100644 --- a/AtlasLoot/Core/AtlasLoot.lua +++ b/AtlasLoot/Core/AtlasLoot.lua @@ -1092,8 +1092,8 @@ function AtlasLoot:LoadItemIDsDatabase() -- run for each item in the data if index ~= 0 and data.Normal ~= 0 then ItemIDsDatabase[data.Normal] = {} - if data.Bloodforged ~= 0 then table.insert(ItemIDsDatabase[data.Normal],data.Bloodforged) end - if data.Normal ~= 0 then table.insert(ItemIDsDatabase[data.Normal],data.Normal) end + table.insert(ItemIDsDatabase[data.Normal],data.Bloodforged); + table.insert(ItemIDsDatabase[data.Normal],data.Normal); if data.Heroic ~= 0 then table.insert(ItemIDsDatabase[data.Normal],data.Heroic) end for i,v in ipairs(data["Mythic"]) do if v ~= 0 then