diff --git a/src/main/java/net/slqmy/template_paper_plugin/commands/SetLanguageCommand.java b/src/main/java/net/slqmy/template_paper_plugin/commands/SetLanguageCommand.java index ff68c154..318ff306 100644 --- a/src/main/java/net/slqmy/template_paper_plugin/commands/SetLanguageCommand.java +++ b/src/main/java/net/slqmy/template_paper_plugin/commands/SetLanguageCommand.java @@ -38,7 +38,7 @@ public String apply(CustomArgumentInfo info) throws CustomArgumentExcept Bukkit.getLogger().info(selectedLanguage); if (!languages.contains(selectedLanguage)) { - Component errorMessage = languageManager.getMessage(Message.UNKNOWN_LANGUAGE, info.sender(), true, new Object[] {selectedLanguage}); + Component errorMessage = languageManager.getMessage(Message.UNKNOWN_LANGUAGE, info.sender(), selectedLanguage); throw CustomArgumentException.fromAdventureComponent(errorMessage); }