fix lol
This commit is contained in:
@@ -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("/")) {
|
||||
|
||||
Reference in New Issue
Block a user