From 2a6127b0f63844f2a65a93eb21dfea8876003b03 Mon Sep 17 00:00:00 2001 From: BONNe Date: Sat, 26 Jan 2019 13:53:49 +0200 Subject: [PATCH] Remove repeating blockage for Island Challenge type. --- .../java/world/bentobox/challenges/panel/TryToComplete.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/world/bentobox/challenges/panel/TryToComplete.java b/src/main/java/world/bentobox/challenges/panel/TryToComplete.java index d7d2944..2ae9d48 100644 --- a/src/main/java/world/bentobox/challenges/panel/TryToComplete.java +++ b/src/main/java/world/bentobox/challenges/panel/TryToComplete.java @@ -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;