refactor: attempt to make the bot more thread-safe (specifically the core)
This commit is contained in:
@@ -53,7 +53,7 @@ public class ChatPlugin extends Bot.Listener {
|
||||
|
||||
public final List<Component> chatTypes = new ArrayList<>();
|
||||
|
||||
private final ConcurrentLinkedQueue<String> queue = new ConcurrentLinkedQueue<>();
|
||||
private final Queue<String> queue = new ConcurrentLinkedQueue<>();
|
||||
|
||||
public final int queueDelay;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user