From 6b77dc74d9d43c656e85a0135e8b40d004fdc2be Mon Sep 17 00:00:00 2001 From: Auxilor Date: Tue, 4 Oct 2022 00:11:28 +0100 Subject: [PATCH] More fixes --- .../main/kotlin/com/willfp/ecoenchants/enchants/EnchantGUI.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoenchants/enchants/EnchantGUI.kt b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoenchants/enchants/EnchantGUI.kt index 1e827c80..1e6a2f93 100644 --- a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoenchants/enchants/EnchantGUI.kt +++ b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoenchants/enchants/EnchantGUI.kt @@ -255,11 +255,11 @@ private fun EcoEnchant.getInformationSlot(plugin: EcoEnchantsPlugin): Slot { enchant.conflicts.joinToString(", ") { conflict -> conflict.wrap().getFormattedName(0).toWrappable() }.ifEmpty { plugin.langYml.getFormattedString("no-conflicts") } - } + }.toWrappable() ) } .flatMap { - WordUtils.wrap(it, 45, "\n", false) + WordUtils.wrap(it, 40, "\n", false) .lines() .map { s -> s.replaceInWrappable() } .mapIndexed { index, s ->