mirror of
https://github.com/BentoBoxWorld/Challenges.git
synced 2024-12-28 11:59:35 +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",
|
||||
TextVariables.NUMBER, String.valueOf(requirements.getAmount()),
|
||||
"[statistic]", Utils.prettifyObject(requirements.getStatistic(), this.user),
|
||||
"[value]", String.valueOf(currentValue)));
|
||||
}
|
||||
else
|
||||
|
@ -1203,6 +1203,7 @@ challenges:
|
||||
no-library-entries: "&c Cannot find any library entries. Nothing to show."
|
||||
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."
|
||||
requirement-not-met: "&c This challenge requires [statistic] to have [number]. You have only [value]. "
|
||||
# # Showcase for manual material translation
|
||||
# materials:
|
||||
# # Names should be lowercase.
|
||||
|
Loading…
Reference in New Issue
Block a user