Skip to content

Commit

Permalink
fix(BookBot): space in the wrong place (CCBlueX#5107)
Browse files Browse the repository at this point in the history
  • Loading branch information
sqlerrorthing authored and commandblock2 committed Dec 31, 2024
1 parent 33dbd02 commit 6697138
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ object ModuleBookBot : ClientModule("BookBot", Category.MISC, disableOnQuit = tr

private fun appendLineBreak(page: StringBuilder, lineIndex: Int) {
page.append('\n')
if (lineIndex != MAX_LINES_PER_PAGE) {
if (lineIndex == MAX_LINES_PER_PAGE) {
page.appendCodePoint(' '.code)
}
}
Expand Down

0 comments on commit 6697138

Please sign in to comment.