Update daily reward system to use global reward item blacklist

This commit is contained in:
Dev 2024-03-23 10:50:17 +00:00
parent ea18533591
commit a39d8b8419

View File

@ -462,6 +462,12 @@ export class RepeatableQuestRewardGenerator
return false;
}
// item is reward blacklisted
if (this.itemFilterService.isItemRewardBlacklisted(tpl))
{
return false;
}
// Item is on repeatable or global blacklist
if (repeatableQuestConfig.rewardBlacklist.includes(tpl) || this.itemFilterService.isItemBlacklisted(tpl))
{