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; }