1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-18 12:31:26 +02:00

Math fail

This commit is contained in:
snowleo
2013-04-06 18:38:49 +03:00
parent b3b30ced9b
commit 12a1dac02d

View File

@@ -56,7 +56,7 @@ public class BookPager
{
Character letter = pageLine.charAt(pointer);
if (length >= max || (letter == '\u00a7' && length - 1 >= max))
if (length >= max || (letter == '\u00a7' && length + 1 >= max))
{
tempLine = pageLine.substring(start, pointer);
pageLines.add(tempLine);