Don't entirely die just because a plugin jar was bad

This commit is contained in:
Shane Freeder 2024-07-29 16:54:46 +01:00
parent c2b2de43cf
commit c58d918886

View file

@ -719,7 +719,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
+ }
+ }
+ } catch (final IOException ex) {
+ throw new RuntimeException("Failed to open plugin jar " + inputFile, ex);
+ return CompletableFuture.failedFuture(new RuntimeException("Failed to open plugin jar " + inputFile, ex));
+ }
+
+ return this.reobf.remapped().thenApplyAsync(reobfServer -> {