Implement complete glow option.

This commit is contained in:
BONNe 2019-02-12 16:18:21 +02:00
parent a392e0d390
commit 810d57e042

View File

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