Skip to content

Commit

Permalink
Fixes missing "required level" string.
Browse files Browse the repository at this point in the history
I forgot to add correct reference text to the level.

Fixes #298
  • Loading branch information
BONNe committed Jul 25, 2022
1 parent 26fb557 commit d59b047
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,7 @@ private String generateOtherChallenge(OtherRequirements requirement)
this.user.getTranslationOrNothing(reference + "money-warning") : "";

String level = !this.addon.isLevelProvided() || requirement.getRequiredIslandLevel() <= 0 ? "" :
this.user.getTranslationOrNothing(reference,
this.user.getTranslationOrNothing(reference + "level",
"[number]", String.valueOf(requirement.getRequiredIslandLevel()));

return this.user.getTranslationOrNothing(reference + "lore",
Expand Down

0 comments on commit d59b047

Please sign in to comment.