mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-19 04:52:30 +02:00
Math fail
This commit is contained in:
@@ -56,7 +56,7 @@ public class BookPager
|
|||||||
{
|
{
|
||||||
Character letter = pageLine.charAt(pointer);
|
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);
|
tempLine = pageLine.substring(start, pointer);
|
||||||
pageLines.add(tempLine);
|
pageLines.add(tempLine);
|
||||||
|
Reference in New Issue
Block a user