aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorShane Freeder <[email protected]>2024-07-29 16:54:46 +0100
committerShane Freeder <[email protected]>2024-07-29 16:54:46 +0100
commit100d75a11ced7fdd895a912779773d044840b2a4 (patch)
tree5be7b668ed0ce45bd0cea25a3efb18bd72522faf
parent438863c4c58b6a72b98cd031e05988d76d0de197 (diff)
downloadPaper-100d75a11ced7fdd895a912779773d044840b2a4.tar.gz
Paper-100d75a11ced7fdd895a912779773d044840b2a4.zip
Don't entirely die just because a plugin jar was bad
-rw-r--r--patches/server/0020-Plugin-remapping.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/patches/server/0020-Plugin-remapping.patch b/patches/server/0020-Plugin-remapping.patch
index 3d9e42e444..cebc8c0281 100644
--- a/patches/server/0020-Plugin-remapping.patch
+++ b/patches/server/0020-Plugin-remapping.patch
@@ -377,7 +377,7 @@ index 0000000000000000000000000000000000000000..d738b31f0005aca352a511c1a57e76b6
+}
diff --git a/src/main/java/io/papermc/paper/pluginremap/PluginRemapper.java b/src/main/java/io/papermc/paper/pluginremap/PluginRemapper.java
new file mode 100644
-index 0000000000000000000000000000000000000000..265c636abfd63f9ba0b0f0198867a10401c14da1
+index 0000000000000000000000000000000000000000..28857d0c9b53f2068d51b8f09ef40df7a2b97502
--- /dev/null
+++ b/src/main/java/io/papermc/paper/pluginremap/PluginRemapper.java
@@ -0,0 +1,438 @@
@@ -719,7 +719,7 @@ index 0000000000000000000000000000000000000000..265c636abfd63f9ba0b0f0198867a104
+ }
+ }
+ } 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 -> {