mirror of
https://github.com/lucko/LuckPerms.git
synced 2025-08-29 09:09:51 +02:00
Fix concurrent errors in URLClassLoaderAccess (#3403)
This commit is contained in:
@@ -167,8 +167,10 @@ public abstract class URLClassLoaderAccess {
|
||||
URLClassLoaderAccess.throwError(new NullPointerException("unopenedURLs or pathURLs"));
|
||||
}
|
||||
|
||||
this.unopenedURLs.add(url);
|
||||
this.pathURLs.add(url);
|
||||
synchronized (this.unopenedURLs) {
|
||||
this.unopenedURLs.add(url);
|
||||
this.pathURLs.add(url);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user