mirror of
https://github.com/jimathy/jim_bridge.git
synced 2026-11-24 04:18:35 +00:00
I am still alive
This commit is contained in:
1 parent
2572f86030
commit
8611bc6d3c
21 files changed
+607
-292
No files matched your search
@@ -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