mirror of
https://github.com/BentoBoxWorld/Challenges.git
synced 2024-11-28 13:36:06 +01:00
Fix island level reporting wrong number
This commit is contained in:
parent
2caf744273
commit
9dd0e12878
@ -149,7 +149,7 @@ public class TryToComplete {
|
|||||||
if (level >= challenge.getReqIslandlevel()) {
|
if (level >= challenge.getReqIslandlevel()) {
|
||||||
return new ChallengeResult().setMeetsRequirements();
|
return new ChallengeResult().setMeetsRequirements();
|
||||||
} else {
|
} else {
|
||||||
user.sendMessage("challenges.error.island-level", TextVariables.NUMBER, String.valueOf(level));
|
user.sendMessage("challenges.error.island-level", TextVariables.NUMBER, String.valueOf(challenge.getReqIslandlevel()));
|
||||||
return new ChallengeResult();
|
return new ChallengeResult();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user