Fix duplicate functions and typos

This commit is contained in:
Jim Shield committed 2025-04-22 19:16:31 +01:00
1 parent 673d9e3a12
commit 45c5af8e81
10 files changed
+85 -239

No files matched your search

+2 -2
View File
@@ -82,9 +82,9 @@ end
---
--- @usage
--- ```lua
--- local found, stashName = checkHasItem({"playerStash", "storageStash"}, { iron = 2, wood = 5 })
--- local found, stashName = checkStashItem({"playerStash", "storageStash"}, { iron = 2, wood = 5 })
--- ```
function checkHasItem(stashes, itemTable)
function checkStashItem(stashes, itemTable)
if not stashes then
return hasItem(itemTable), nil
end