Update daily reward system to use global reward item blacklist
This commit is contained in:
parent
ea18533591
commit
a39d8b8419
@ -462,6 +462,12 @@ export class RepeatableQuestRewardGenerator
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// item is reward blacklisted
|
||||||
|
if (this.itemFilterService.isItemRewardBlacklisted(tpl))
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
// Item is on repeatable or global blacklist
|
// Item is on repeatable or global blacklist
|
||||||
if (repeatableQuestConfig.rewardBlacklist.includes(tpl) || this.itemFilterService.isItemBlacklisted(tpl))
|
if (repeatableQuestConfig.rewardBlacklist.includes(tpl) || this.itemFilterService.isItemBlacklisted(tpl))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user