mirror of
https://github.com/BentoBoxWorld/Challenges.git
synced 2024-11-28 13:36:06 +01:00
Fixes missing error translation for not meeting statistics challenge value.
This commit is contained in:
parent
c933caebe0
commit
0475c798e1
@ -1428,6 +1428,7 @@ public class TryToComplete
|
|||||||
{
|
{
|
||||||
Utils.sendMessage(this.user, this.user.getTranslation("challenges.errors.requirement-not-met",
|
Utils.sendMessage(this.user, this.user.getTranslation("challenges.errors.requirement-not-met",
|
||||||
TextVariables.NUMBER, String.valueOf(requirements.getAmount()),
|
TextVariables.NUMBER, String.valueOf(requirements.getAmount()),
|
||||||
|
"[statistic]", Utils.prettifyObject(requirements.getStatistic(), this.user),
|
||||||
"[value]", String.valueOf(currentValue)));
|
"[value]", String.valueOf(currentValue)));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@ -1203,6 +1203,7 @@ challenges:
|
|||||||
no-library-entries: "&c Cannot find any library entries. Nothing to show."
|
no-library-entries: "&c Cannot find any library entries. Nothing to show."
|
||||||
not-hooked: "&c Challenges Addon could not find any GameMode."
|
not-hooked: "&c Challenges Addon could not find any GameMode."
|
||||||
timeout: "&c This challenge requires to wait [timeout] between completions. You must wait [wait-time] till complete it again."
|
timeout: "&c This challenge requires to wait [timeout] between completions. You must wait [wait-time] till complete it again."
|
||||||
|
requirement-not-met: "&c This challenge requires [statistic] to have [number]. You have only [value]. "
|
||||||
# # Showcase for manual material translation
|
# # Showcase for manual material translation
|
||||||
# materials:
|
# materials:
|
||||||
# # Names should be lowercase.
|
# # Names should be lowercase.
|
||||||
|
Loading…
Reference in New Issue
Block a user