fix lol
This commit is contained in:
parent
2cb5269d78
commit
69f18ba463
1 changed files with 2 additions and 2 deletions
|
@ -224,10 +224,10 @@ public class ChatPlugin extends Bot.Listener {
|
|||
}
|
||||
|
||||
private void sendChatTick () {
|
||||
if (queue.isEmpty()) return;
|
||||
|
||||
if (queue.size() > 50) queue.clear(); // detects spam, like spamming *echo for example
|
||||
|
||||
if (queue.isEmpty()) return;
|
||||
|
||||
final String message = queue.get(0);
|
||||
|
||||
if (message.startsWith("/")) {
|
||||
|
|
Loading…
Reference in a new issue