1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-02-23 16:03:28 +01:00

Still need that check

This commit is contained in:
snowleo 2013-04-06 18:40:42 +03:00
parent a67d8e00f1
commit 8f0296dcf8

View File

@ -64,7 +64,7 @@ public class BookPager
length = 0;
}
if (letter == '\u00a7')
if (letter == '\u00a7' && pointer + 1 < lineLength)
{
Character nextLetter = pageLine.charAt(pointer + 1);
if (nextLetter == 'l' || nextLetter == 'L')