Skip to content

Commit e933d2e

Browse files
extract EnigmaProjectImpl
1 parent 8b34b0d commit e933d2e

File tree

5 files changed

+580
-457
lines changed

5 files changed

+580
-457
lines changed

enigma/src/main/java/org/quiltmc/enigma/api/Enigma.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ public EnigmaProject openJar(Path path, ClassProvider libraryClassProvider, Prog
143143
MappingsIndex mappingsIndex = MappingsIndex.empty();
144144
mappingsIndex.indexMappings(proposedNames, progress);
145145

146-
return new EnigmaProject(this, path, mainProjectProvider, jarIndex, libIndex, comboIndex, mappingsIndex, proposedNames, Utils.zipSha1(path));
146+
return EnigmaProject.of(this, path, mainProjectProvider, jarIndex, libIndex, comboIndex, mappingsIndex, proposedNames, Utils.zipSha1(path));
147147
}
148148

149149
private Predicate<String> createMainReferencedPredicate(AbstractJarIndex mainIndex, ProjectClassProvider classProvider) {

0 commit comments

Comments
 (0)