From 7020879aea8981270834a5875b2ca23ce7dde56b Mon Sep 17 00:00:00 2001 From: Dean Sheather Date: Sun, 26 May 2024 01:24:18 +1000 Subject: [PATCH] fix: add last row from some auto-translate categories --- ChatTwo/Util/AutoTranslate.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ChatTwo/Util/AutoTranslate.cs b/ChatTwo/Util/AutoTranslate.cs index 385977f..c45f66a 100644 --- a/ChatTwo/Util/AutoTranslate.cs +++ b/ChatTwo/Util/AutoTranslate.cs @@ -182,7 +182,7 @@ internal static class AutoTranslate // Previously, we were setting `0..^0` which caused these // sheets to be completely skipped due to this bug. // See below. - rows.Add(..Index.FromStart((int)validRows.Max())); + rows.Add(..Index.FromStart((int)validRows.Max() + 1)); foreach (var range in rows) {