forked from ChomeNS/chomens-bot-java
another fix for fix mabe
idk if it works
This commit is contained in:
parent
60ebbbc09d
commit
6b79f57801
1 changed files with 2 additions and 0 deletions
|
@ -29,6 +29,8 @@ public class CreayunChatParser implements ChatParser {
|
|||
public PlayerMessage parse (Component message) {
|
||||
final String stringified = ComponentUtilities.stringify(message);
|
||||
|
||||
if (stringified.length() > 512) return null; // will this fix the fard problem?
|
||||
|
||||
final Matcher matcher = PATTERN.matcher(stringified);
|
||||
|
||||
if (matcher.find()) {
|
||||
|
|
Loading…
Reference in a new issue