Fixed bypass spam limits by spamming more than one character
This commit is contained in:
@@ -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));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user