diff --git a/src/main/java/net/fabricmc/tinyremapper/TinyRemapper.java b/src/main/java/net/fabricmc/tinyremapper/TinyRemapper.java index aa8e40a7..070bfb1f 100644 --- a/src/main/java/net/fabricmc/tinyremapper/TinyRemapper.java +++ b/src/main/java/net/fabricmc/tinyremapper/TinyRemapper.java @@ -383,11 +383,19 @@ public CompletableFuture readInputsAsync(InputTag tag, Path... inputs) { } public void readClassPath(final Path... inputs) { - read(inputs, false, null).join(); + readClassPath(null, inputs); + } + + public void readClassPath(InputTag tag, final Path... inputs) { + read(inputs, false, tag).join(); } public CompletableFuture readClassPathAsync(final Path... inputs) { - CompletableFuture ret = read(inputs, false, null); + return readClassPathAsync(null, inputs); + } + + public CompletableFuture readClassPathAsync(InputTag tag, final Path... inputs) { + CompletableFuture ret = read(inputs, false, tag); if (!ret.isDone()) { pendingReads.add(ret);