Commit 56f1c9a6 authored by Him188's avatar Him188

Use String.repeat instead of SB

parent 034e25d7
...@@ -17,10 +17,6 @@ internal object PacketNameFormatter { ...@@ -17,10 +17,6 @@ internal object PacketNameFormatter {
return name return name
} }
return StringBuilder().apply { return " ".repeat(longestNameLength - name.length) + name
repeat(longestNameLength - name.length) {
this.append(" ")
}
}.toString() + 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