mirror of
https://github.com/Melledy/Grasscutter.git
synced 2024-11-23 04:57:18 +00:00
Fix language lint error
This commit is contained in:
parent
47a5aa4b59
commit
b2c5ae93d2
@ -83,7 +83,9 @@ public final class QuestCommand implements CommandHandler {
|
||||
|
||||
var talk = mainQuest.getTalks().get(questId);
|
||||
CommandHandler.sendMessage(sender, translate(sender, "commands.quest.talking",
|
||||
questId, translate(sender, "commands.quest.state." + (talk == null ? "not_exists" : "exists")),
|
||||
questId, talk == null ?
|
||||
translate(sender, "commands.quest.state.not_exists") :
|
||||
translate(sender, "commands.quest.state.exists"),
|
||||
mainQuest.getParentQuestId(), mainQuest.getState().getValue()));
|
||||
}
|
||||
default -> this.sendUsageMessage(sender);
|
||||
|
Loading…
Reference in New Issue
Block a user