Should fix concurrentmodification

This commit is contained in:
ajgeiss0702
2021-05-30 10:31:32 -07:00
parent 8937f29ebf
commit c7de0dccb9
+1 -1
View File
@@ -614,7 +614,7 @@ public class Manager {
* @param p The player * @param p The player
* @param s The name of the server * @param s The name of the server
*/ */
public void addToQueue(ProxiedPlayer p, String s) { public synchronized void addToQueue(ProxiedPlayer p, String s) {
if(p == null || s == null) return; if(p == null || s == null) return;
QueueServer server = findServer(s); QueueServer server = findServer(s);
if(server == null) { if(server == null) {