I am still alive

This commit is contained in:
Jim Shield authored and GitHub committed 2025-03-26 21:43:48 +00:00
1 parent 2572f86030
commit 8611bc6d3c
21 files changed
+607 -292

No files matched your search

+5 -1
View File
@@ -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