Fixed bypass spam limits by spamming more than one character
This commit is contained in:
parent
4068ad8ea6
commit
7ab95e437a
|
|
@ -92,7 +92,7 @@ public class ChatFilter {
|
||||||
Matcher matcher = pattern.matcher(input);
|
Matcher matcher = pattern.matcher(input);
|
||||||
while (matcher.find()) {
|
while (matcher.find()) {
|
||||||
String group = matcher.group();
|
String group = matcher.group();
|
||||||
modifiableString.string(input.replace(group, group.substring(0, length)));
|
modifiableString.replace(group, group.substring(0, length));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user