Skip to content

Commit ce60de1

Browse files
committed
small fix
1 parent f7129f2 commit ce60de1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/de/blazemcworld/jsscripts/TypingGen.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@ public static void genTypesIn(String targets) {
153153
}
154154

155155
private static void genTypesFor(String currentName, Path outDir, ClassLoader cl) throws Exception {
156+
currentName = Mappings.remapClass("named", Mappings.current(), currentName);
156157
InputStream stream = cl.getResourceAsStream(currentName.replace('.', '/') + ".class");
157158
if (stream == null) {
158159
stream = Class.forName(currentName).getClassLoader().getResourceAsStream(currentName.replace('.', '/') + ".class");

0 commit comments

Comments
 (0)