Skip to content

Commit

Permalink
processSkyblock filter change (slothpixel#656)
Browse files Browse the repository at this point in the history
* Added starred items and items with the Thick modifier to the processSkyblock filter

* Changed star and thick filter to startsWith and endsWith

* Whoops, typo
  • Loading branch information
MattTheCuber authored and ChristianDobbie committed Jan 10, 2022
1 parent 7a36539 commit d1b9686
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions processors/processSkyBlock.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ async function checkItems(members = {}) {
if (![null, undefined].includes(item.attributes.modifier)
|| id.startsWith('MAP:')
|| item.name === '§fnull'
|| item.name.endsWith('✪')
|| item.name.startsWith('Thick ')
|| !/[!-~]/.test(item.name) || !/[!-~]/.test(item.type)
|| item.rarity_upgrades) return [];
return [{
Expand Down

0 comments on commit d1b9686

Please sign in to comment.