mirror of
https://github.com/architectury/architectury-loom.git
synced 2026-03-30 21:05:58 -05:00
Fix line number remapping not copying all class files. Fixes a runtime crash.
This commit is contained in:
@@ -126,12 +126,12 @@ public class LineNumberRemapper {
|
||||
|
||||
reader.accept(new LineNumberVisitor(Constants.ASM_VERSION, writer, lineMap.get(idx)), 0);
|
||||
Files.write(dst, writer.toByteArray());
|
||||
return FileVisitResult.CONTINUE;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
Files.copy(file, dst, StandardCopyOption.REPLACE_EXISTING);
|
||||
}
|
||||
|
||||
Files.copy(file, dst, StandardCopyOption.REPLACE_EXISTING);
|
||||
return FileVisitResult.CONTINUE;
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user