Comodification avoidance

This commit is contained in:
Mumfrey committed 2017-08-21 21:20:44 +01:00
1 parent ca179bc73f
commit e93b809e79
1 file changed
+2 -1
@@ -212,7 +212,8 @@ public class MixinPlatformManager {
* mixin tweaker in their manifest) and add agents for them
*/
private void scanClasspath() {
for (URL url : Launch.classLoader.getSources()) {
URL[] sources = Launch.classLoader.getSources().toArray(new URL[0]);
for (URL url : sources) {
try {
URI uri = url.toURI();
if (this.containers.containsKey(uri)) {