From 5b30cffaa7f6ab60840362cdac6eea87459ba117 Mon Sep 17 00:00:00 2001 From: MarioE Date: Thu, 3 Oct 2013 23:40:04 -0400 Subject: [PATCH] Account for the separator in PaginationTools --- TShockAPI/PaginationTools.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TShockAPI/PaginationTools.cs b/TShockAPI/PaginationTools.cs index e64d3e2a..42a716fe 100644 --- a/TShockAPI/PaginationTools.cs +++ b/TShockAPI/PaginationTools.cs @@ -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)