Skip to content

Commit

Permalink
Remove repeating blockage for Island Challenge type.
Browse files Browse the repository at this point in the history
  • Loading branch information
BONNe committed Jan 26, 2019
1 parent ab22651 commit 2a6127b
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -329,8 +329,7 @@ else if (this.challenge.isRepeatable() && this.challenge.getMaxTimes() > 0 &&
result = EMPTY_RESULT;
}
// Check repeatability
else if (this.manager.isChallengeComplete(this.user, this.challenge)
&& (!this.challenge.isRepeatable() || type.equals(ChallengeType.ISLAND)))
else if (!this.challenge.isRepeatable() && this.manager.isChallengeComplete(this.user, this.challenge))
{
this.user.sendMessage("challenges.not-repeatable");
result = EMPTY_RESULT;
Expand Down

0 comments on commit 2a6127b

Please sign in to comment.