1
0
Fork 0
mirror of https://github.com/PaperMC/Paper.git synced 2025-02-17 18:47:40 +01:00

Fix corrupted plugin.yml breaking plugin loading ()

Fix corrupted plugin.yml file in one plugin not loading any plugins by
the server.

Co-authored-by: Aleksander Jagiello <themolkapl@gmail.com>
This commit is contained in:
Bjarne Koll 2024-02-23 18:54:44 +01:00
parent f8a84f01e2
commit b2aea18b19

View file

@ -5519,7 +5519,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
+ 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);
+ }
+ });