diff --git a/src/js/itemAvailability.js b/src/js/itemAvailability.js index 0d63e42806ae6b4a8bc3e00e54f7489bc432ca61..b114d4772bb9a57bc1a2dffbbfa260bd910bb0e8 100644 --- a/src/js/itemAvailability.js +++ b/src/js/itemAvailability.js @@ -34,7 +34,7 @@ globalThis.isItemAccessible = (function() { function array(map, filter, filterValue) { const array = []; for (const [key, obj] of map) { - if (filter && filterValue !== (obj[filter])) { + if (filter && filterValue !== (obj[filter] || false)) { continue; } if (V.cheatMode || isAvailable(obj)) {