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 f7129f2 commit ce60de1Copy full SHA for ce60de1
src/main/java/de/blazemcworld/jsscripts/TypingGen.java
@@ -153,6 +153,7 @@ public static void genTypesIn(String targets) {
153
}
154
155
private static void genTypesFor(String currentName, Path outDir, ClassLoader cl) throws Exception {
156
+ currentName = Mappings.remapClass("named", Mappings.current(), currentName);
157
InputStream stream = cl.getResourceAsStream(currentName.replace('.', '/') + ".class");
158
if (stream == null) {
159
stream = Class.forName(currentName).getClassLoader().getResourceAsStream(currentName.replace('.', '/') + ".class");
0 commit comments