17,097
edits
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( | table.insert(thiefStr, (#thiefStr > 0 and ',' or 'Pickpocketing: ') .. Icons.Icon({npc.name, type="thieving", notext="true"})) | ||
break | break | ||
end | end |