Cleaned up MissingDependencyException.kt
This commit is contained in:
@@ -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")
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user