Account for the separator in PaginationTools

This commit is contained in:
MarioE 2013-10-03 23:40:04 -04:00
parent 87e36a8433
commit 5b30cffaa7

View file

@ -270,7 +270,7 @@ namespace TShockAPI
termString = term.ToString();
}
bool goesOnNextLine = (lineBuilder.Length + termString.Length > maxCharsPerLine);
bool goesOnNextLine = (lineBuilder.Length + termString.Length + separator.Length > maxCharsPerLine);
if (!goesOnNextLine)
{
if (lineBuilder.Length > 0)