Fix language lint error

This commit is contained in:
KingRainbow44 2023-04-30 22:04:48 -04:00
parent 47a5aa4b59
commit b2c5ae93d2
No known key found for this signature in database
GPG Key ID: FC2CB64B00D257BE

View File

@ -83,7 +83,9 @@ public final class QuestCommand implements CommandHandler {
var talk = mainQuest.getTalks().get(questId); var talk = mainQuest.getTalks().get(questId);
CommandHandler.sendMessage(sender, translate(sender, "commands.quest.talking", 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())); mainQuest.getParentQuestId(), mainQuest.getState().getValue()));
} }
default -> this.sendUsageMessage(sender); default -> this.sendUsageMessage(sender);