Module:Sandbox/AuronTest/SourceTables: Difference between revisions

m
Correct typo
m (Try to optimise _getItemSources())
m (Correct typo)
Line 420: Line 420:
       for j, loot in pairs(npc.lootTable) do
       for j, loot in pairs(npc.lootTable) do
         if loot[1] == item.id then
         if loot[1] == item.id then
           table.insert(theifStr, (#thiefStr > 0 and ',' or 'Pickpocketing: ') .. Icons.Icon({npc.name, type="thieving", notext="true"}))
           table.insert(thiefStr, (#thiefStr > 0 and ',' or 'Pickpocketing: ') .. Icons.Icon({npc.name, type="thieving", notext="true"}))
           break
           break
         end
         end