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); + } + });