From d1d6f2b54aa9241d94dfb94d6495e5a9004b3c4d Mon Sep 17 00:00:00 2001 From: Auxilor Date: Sun, 16 Oct 2022 22:16:08 +0100 Subject: [PATCH] Cleaned up MissingDependencyException.kt --- .../willfp/ecoenchants/enchants/MissingDependencyException.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoenchants/enchants/MissingDependencyException.kt b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoenchants/enchants/MissingDependencyException.kt index 96da678f..3eaa7880 100644 --- a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoenchants/enchants/MissingDependencyException.kt +++ b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoenchants/enchants/MissingDependencyException.kt @@ -24,8 +24,8 @@ fun addPluginPrompt(plugin: EcoEnchantsPlugin, plugins: List) { fun sendPrompts(plugin: EcoEnchantsPlugin) { for ((pl, amount) in prompts) { plugin.logger.apply { - warning("$amount enchantments were not loaded because they need $pl to be installed") - warning("Either download $pl or delete the folder with their names (/plugins/EcoEnchants/enchants/) to remove this message!") + warning("$amount enchantments were not loaded because they need $pl to be installed!") + warning("Either download $pl or delete the folder at /plugins/EcoEnchants/enchants/${pl.lowercase()} to remove this message") } }