Implement complete glow option.

This commit is contained in:
BONNe 2019-02-12 16:18:21 +02:00
parent a392e0d390
commit 810d57e042
1 changed files with 4 additions and 2 deletions

View File

@ -352,7 +352,8 @@ public class ChallengesGUI extends CommonGUI
return true;
}).
glow(this.challengesManager.isChallengeComplete(this.user, challenge)).
glow(this.addon.getChallengesSettings().isAddCompletedGlow() &&
this.challengesManager.isChallengeComplete(this.user, challenge)).
build();
}
@ -398,7 +399,8 @@ public class ChallengesGUI extends CommonGUI
this.build();
return true;
};
glow = this.challengesManager.isLevelCompleted(this.user, level.getLevel());
glow = this.addon.getChallengesSettings().isAddCompletedGlow() &&
this.challengesManager.isLevelCompleted(this.user, level.getLevel());
}
else
{