Fixes missing "required level" string.

I forgot to add correct reference text to the level.

Fixes #298
This commit is contained in:
BONNe 2022-07-25 11:00:05 +03:00
parent 26fb55748f
commit d59b047555

View File

@ -496,7 +496,7 @@ public abstract class CommonPanel
this.user.getTranslationOrNothing(reference + "money-warning") : ""; this.user.getTranslationOrNothing(reference + "money-warning") : "";
String level = !this.addon.isLevelProvided() || requirement.getRequiredIslandLevel() <= 0 ? "" : String level = !this.addon.isLevelProvided() || requirement.getRequiredIslandLevel() <= 0 ? "" :
this.user.getTranslationOrNothing(reference, this.user.getTranslationOrNothing(reference + "level",
"[number]", String.valueOf(requirement.getRequiredIslandLevel())); "[number]", String.valueOf(requirement.getRequiredIslandLevel()));
return this.user.getTranslationOrNothing(reference + "lore", return this.user.getTranslationOrNothing(reference + "lore",