Updated rewrite with previous loot all fix
This commit is contained in:
@@ -288,4 +288,14 @@ TOC_Common.FindItemInWornItems = function(player, checkString)
|
||||
|
||||
return nil
|
||||
|
||||
end
|
||||
|
||||
TOC_Common.FindModItem = function(inventory)
|
||||
for _, partName in pairs(TOC_Common.GetPartNames()) do
|
||||
if inventory:contains("TOC.Amputation_" .. partName) then
|
||||
return true
|
||||
end
|
||||
end
|
||||
return false
|
||||
|
||||
end
|
||||
Reference in New Issue
Block a user