From c58d91888678dcab58b7a06e76be846355c9af71 Mon Sep 17 00:00:00 2001 From: Shane Freeder <theboyetronic@gmail.com> Date: Mon, 29 Jul 2024 16:54:46 +0100 Subject: [PATCH] Don't entirely die just because a plugin jar was bad --- patches/server/Plugin-remapping.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patches/server/Plugin-remapping.patch b/patches/server/Plugin-remapping.patch index 724823cd00..d1b66f5766 100644 --- a/patches/server/Plugin-remapping.patch +++ b/patches/server/Plugin-remapping.patch @@ -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 -> {