Cleaned up MissingDependencyException.kt

This commit is contained in:
Auxilor
2022-10-16 22:16:08 +01:00
parent b98bae9435
commit d1d6f2b54a

View File

@@ -24,8 +24,8 @@ fun addPluginPrompt(plugin: EcoEnchantsPlugin, plugins: List<String>) {
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")
}
}