Fix island level reporting wrong number

This commit is contained in:
tastybento 2018-08-16 19:19:39 -07:00
parent 2caf744273
commit 9dd0e12878

View File

@ -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();
} }
} }