Fixed bypass spam limits by spamming more than one character

This commit is contained in:
Teriuihi 2022-05-30 19:58:00 +02:00
parent 4068ad8ea6
commit 7ab95e437a

View File

@ -92,7 +92,7 @@ public class ChatFilter {
Matcher matcher = pattern.matcher(input);
while (matcher.find()) {
String group = matcher.group();
modifiableString.string(input.replace(group, group.substring(0, length)));
modifiableString.replace(group, group.substring(0, length));
}
}
}