blob: 10d263bd54ab8edbf52958c594b8751738504cf2 (
plain)
1
2
3
4
5
6
7
8
9
|
package com.ambientaddons.utils
import AmbientAddons.Companion.mc
object Chat {
fun getChatBreak(): String = mc.ingameGUI?.chatGUI?.chatWidth?.let {
"§9§m" + "-".repeat(it / mc.fontRendererObj.getStringWidth("-"))
} ?: ""
}
|