mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2024-10-02 06:44:39 +00: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 a new issue