mirror of
https://github.com/BentoBoxWorld/Challenges.git
synced 2024-11-26 20:45:53 +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()) {
|
||||
return new ChallengeResult().setMeetsRequirements();
|
||||
} 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();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user