We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cecf5b6 commit ec23fa3Copy full SHA for ec23fa3
src/main/java/net/notcoded/codelib/common/mixinhelper/MixinPlugin.java
@@ -30,7 +30,7 @@ public String getRefMapperConfig() {
30
public boolean shouldApplyMixin(String targetClassName, String mixinClassName) {
31
Class<?> clazz;
32
try {
33
- clazz = ClassLoader.getSystemClassLoader().loadClass(mixinClassName);
+ clazz = Thread.currentThread().getContextClassLoader().loadClass(mixinClassName);
34
} catch (ClassNotFoundException e) {
35
return true; // no idea what happened
36
}
0 commit comments