mirror of
https://github.com/BentoBoxWorld/Challenges.git
synced 2024-11-30 22:44:08 +01:00
Implement complete glow option.
This commit is contained in:
parent
a392e0d390
commit
810d57e042
@ -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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user