From 735370831b82f44dda2f185729f77deed4110190 Mon Sep 17 00:00:00 2001 From: ItsFlicker <1812496278@qq.com> Date: Sun, 26 Nov 2023 12:34:17 +0800 Subject: [PATCH] [2.0.9] Fix --- .../arasple/mc/trchat/module/internal/filter/Filter.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/project/common/src/main/java/me/arasple/mc/trchat/module/internal/filter/Filter.java b/project/common/src/main/java/me/arasple/mc/trchat/module/internal/filter/Filter.java index d577f9fa..eb1593e6 100644 --- a/project/common/src/main/java/me/arasple/mc/trchat/module/internal/filter/Filter.java +++ b/project/common/src/main/java/me/arasple/mc/trchat/module/internal/filter/Filter.java @@ -89,12 +89,12 @@ public static FilteredObject doFilter(String src) { markNum = 0; } k = i; - curry = curr; +// curry = curr; // 无法屏蔽重复字符 while (++k < length) { int temp = charConvert(chs[k]); - if (temp == curry) { - continue; - } +// if (temp == curry) { +// continue; +// } if (PUNCTUATIONS_SET.contains(temp)) { continue; }