Account for the separator in PaginationTools
This commit is contained in:
parent
87e36a8433
commit
5b30cffaa7
1 changed files with 1 additions and 1 deletions
|
|
@ -270,7 +270,7 @@ namespace TShockAPI
|
||||||
termString = term.ToString();
|
termString = term.ToString();
|
||||||
}
|
}
|
||||||
|
|
||||||
bool goesOnNextLine = (lineBuilder.Length + termString.Length > maxCharsPerLine);
|
bool goesOnNextLine = (lineBuilder.Length + termString.Length + separator.Length > maxCharsPerLine);
|
||||||
if (!goesOnNextLine)
|
if (!goesOnNextLine)
|
||||||
{
|
{
|
||||||
if (lineBuilder.Length > 0)
|
if (lineBuilder.Length > 0)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue