aboutsummaryrefslogtreecommitdiff
path: root/src/cleaners/skyblock/collections.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/cleaners/skyblock/collections.ts')
-rw-r--r--src/cleaners/skyblock/collections.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cleaners/skyblock/collections.ts b/src/cleaners/skyblock/collections.ts
index 708822b..99fdc27 100644
--- a/src/cleaners/skyblock/collections.ts
+++ b/src/cleaners/skyblock/collections.ts
@@ -84,7 +84,7 @@ export interface Collection {
}
// get a category name (farming) from a collection name (wheat)
-function getCategory(collectionName): CollectionCategory {
+function getCategory(collectionName): CollectionCategory | undefined {
for (const categoryName in COLLECTIONS) {
const categoryItems = COLLECTIONS[categoryName]
if (categoryItems.includes(collectionName))