Remove repeating blockage for Island Challenge type.

This commit is contained in:
BONNe 2019-01-26 13:53:49 +02:00
parent ab22651425
commit 2a6127b0f6

View File

@ -329,8 +329,7 @@ public class TryToComplete
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;