aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorBjarne Koll <[email protected]>2024-02-23 18:54:44 +0100
committerGitHub <[email protected]>2024-02-23 18:54:44 +0100
commitd0ebfbbd159d6a936d35d71696c03930550aab04 (patch)
treee143119f6599dc82786022fd3f97843b5cf1ab78
parente3bc4c4107c2f9574a9bc5db9211b32ac0d0ab5a (diff)
downloadPaper-d0ebfbbd159d6a936d35d71696c03930550aab04.tar.gz
Paper-d0ebfbbd159d6a936d35d71696c03930550aab04.zip
Fix corrupted plugin.yml breaking plugin loading (#10279)
Fix corrupted plugin.yml file in one plugin not loading any plugins by the server. Co-authored-by: Aleksander Jagiello <[email protected]>
-rw-r--r--patches/server/0013-Paper-Plugins.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/patches/server/0013-Paper-Plugins.patch b/patches/server/0013-Paper-Plugins.patch
index dcbfcbfaec..71c4e4367c 100644
--- a/patches/server/0013-Paper-Plugins.patch
+++ b/patches/server/0013-Paper-Plugins.patch
@@ -5480,7 +5480,7 @@ index 0000000000000000000000000000000000000000..49a087381307eab263f7dad43aaa2598
+}
diff --git a/src/main/java/io/papermc/paper/plugin/provider/source/DirectoryProviderSource.java b/src/main/java/io/papermc/paper/plugin/provider/source/DirectoryProviderSource.java
new file mode 100644
-index 0000000000000000000000000000000000000000..f30fcf60b64150e381c7b813016aa9ddf6f2c4e4
+index 0000000000000000000000000000000000000000..226f457db6c1461c943c157b2b91e7450abc9dc6
--- /dev/null
+++ b/src/main/java/io/papermc/paper/plugin/provider/source/DirectoryProviderSource.java
@@ -0,0 +1,66 @@
@@ -5519,7 +5519,7 @@ index 0000000000000000000000000000000000000000..f30fcf60b64150e381c7b813016aa9dd
+ files.add(FILE_PROVIDER_SOURCE.prepareContext(path));
+ } catch (IllegalArgumentException ignored) {
+ // Ignore illegal argument exceptions from jar checking
-+ } catch (IOException e) {
++ } catch (final Exception e) {
+ LOGGER.error("Error preparing plugin context: " + e.getMessage(), e);
+ }
+ });