refactor: use the new latest getFirst() instead of get(0)

This commit is contained in:
ChomeNS
2025-01-06 19:46:03 +07:00
parent ebc7560d2e
commit 7c861e1869
14 changed files with 18 additions and 18 deletions

View File

@@ -241,7 +241,7 @@ public class ChatPlugin extends Bot.Listener {
if (queue.isEmpty()) return;
final String message = queue.get(0);
final String message = queue.getFirst();
if (message.startsWith("/")) {
String removedMessage = message.substring(1);