mirror of
https://github.com/jimathy/jim_bridge.git
synced 2026-08-18 06:26:01 +01:00
I am still alive
This commit is contained in:
@@ -59,7 +59,11 @@ function hasItem(items, amount, src)
|
||||
debugPrint(foundMessage)
|
||||
hasTable[item] = { hasItem = count >= amt, count = count }
|
||||
end
|
||||
for k, v in pairs(hasTable) do if not v.hasItem then return false, hasTable end end
|
||||
for k, v in pairs(hasTable) do
|
||||
if not v.hasItem then
|
||||
return false, hasTable
|
||||
end
|
||||
end
|
||||
return true, hasTable
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user