17,101
edits
(Remove ItemData) |
(getThievingSourcesForItem: Fix area unique drops) |
||
Line 83: | Line 83: | ||
for j, drop in pairs(area.uniqueDrops) do | for j, drop in pairs(area.uniqueDrops) do | ||
if drop.id == itemID then | if drop.id == itemID then | ||
for k, npcID in | for k, npcID in ipairs(area.npcIDs) do | ||
areaNPCs[npcID] = drop.quantity | areaNPCs[npcID] = drop.quantity | ||
end | end |