added FixedItemIDsDatabase so things we want to keep dont get over written

This commit is contained in:
Anch
2022-01-31 18:30:31 +13:00
parent 4aac63e199
commit 193496dd5d
4 changed files with 12 additions and 5 deletions
+3 -2
View File
@@ -1374,9 +1374,10 @@ Finds the Ids of other difficulties based on the name of the item and the diffic
On the form of {Name, {normal, heroic, mythic, mythic1, mythic2, ... ,mythicN}}
]]
function AL_FindId(name, difficulty)
if ItemIDsDatabase[name] ~= nil then
if FixedItemIDsDatabase[name] ~= nil then
return FixedItemIDsDatabase[name][difficulty], true
elseif ItemIDsDatabase[name] ~= nil then
return ItemIDsDatabase[name][difficulty], true
end
return nil, false;
end