mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-01 20:52:12 -07:00
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 <themolkapl@gmail.com>
This commit is contained in:
@@ -5519,7 +5519,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||||||
+ files.add(FILE_PROVIDER_SOURCE.prepareContext(path));
|
+ files.add(FILE_PROVIDER_SOURCE.prepareContext(path));
|
||||||
+ } catch (IllegalArgumentException ignored) {
|
+ } catch (IllegalArgumentException ignored) {
|
||||||
+ // Ignore illegal argument exceptions from jar checking
|
+ // Ignore illegal argument exceptions from jar checking
|
||||||
+ } catch (IOException e) {
|
+ } catch (final Exception e) {
|
||||||
+ LOGGER.error("Error preparing plugin context: " + e.getMessage(), e);
|
+ LOGGER.error("Error preparing plugin context: " + e.getMessage(), e);
|
||||||
+ }
|
+ }
|
||||||
+ });
|
+ });
|
||||||
|
Reference in New Issue
Block a user