mirror of
https://github.com/Auxilor/EcoEnchants.git
synced 2024-11-21 14:55:17 +01:00
More fixes
This commit is contained in:
parent
2a2b958e3c
commit
6b77dc74d9
@ -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 ->
|
||||
|
Loading…
Reference in New Issue
Block a user