Commit 56f1c9a6 authored by Him188's avatar Him188

Use String.repeat instead of SB

parent 034e25d7
......@@ -17,10 +17,6 @@ internal object PacketNameFormatter {
return name
}
return StringBuilder().apply {
repeat(longestNameLength - name.length) {
this.append(" ")
}
}.toString() + name
return " ".repeat(longestNameLength - name.length) + name
}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment