diff --git a/src/main/java/net/fabricmc/loom/util/SourceRemapper.java b/src/main/java/net/fabricmc/loom/util/SourceRemapper.java index c0750b0..faa48ca 100644 --- a/src/main/java/net/fabricmc/loom/util/SourceRemapper.java +++ b/src/main/java/net/fabricmc/loom/util/SourceRemapper.java @@ -183,10 +183,6 @@ public class SourceRemapper { Set files = project.getConfigurations().getByName("compileOnly") .files(annotationDependency); - if (files.size() != 1) { - throw new RuntimeException(String.format("Found %d files for the annotations, expected 1", files.size())); - } - for (File file : files) { m.getClassPath().add(file.toPath()); }