mirror of
https://github.com/BentoBoxWorld/Challenges.git
synced 2024-11-23 02:55:42 +01:00
Remove repeating blockage for Island Challenge type.
This commit is contained in:
parent
ab22651425
commit
2a6127b0f6
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user