Skip to content

Commit

Permalink
Fixed cultist circle not utilising itemConfig.rewardItemTypeBlacklist
Browse files Browse the repository at this point in the history
  • Loading branch information
Chomp committed Jan 9, 2025
1 parent 3273c32 commit ce4cf5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion project/src/services/CircleOfCultistService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -661,7 +661,7 @@ export class CircleOfCultistService {
// Get all items that match the blacklisted types and fold into item blacklist below
const itemTypeBlacklist = this.itemFilterService.getItemRewardBaseTypeBlacklist();
const itemsMatchingTypeBlacklist = Object.values(itemsDb)
.filter((templateItem) => this.itemHelper.isOfBaseclasses(templateItem._parent, itemTypeBlacklist))
.filter((templateItem) => this.itemHelper.isOfBaseclasses(templateItem._id, itemTypeBlacklist))
.map((templateItem) => templateItem._id);

// Create set of unique values to ignore
Expand Down

0 comments on commit ce4cf5a

Please sign in to comment.