mirror of
https://github.com/EssentialsX/Essentials.git
synced 2025-01-11 02:47:52 +01:00
Math fail
This commit is contained in:
parent
284d7a23ca
commit
4f033d8073
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user