mirror of
https://github.com/BentoBoxWorld/Challenges.git
synced 2024-12-29 04:18:05 +01:00
Fixes missing "required level" string.
I forgot to add correct reference text to the level. Fixes #298
This commit is contained in:
parent
26fb55748f
commit
d59b047555
@ -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",
|
||||||
|
Loading…
Reference in New Issue
Block a user