Open
Description
Paper just rewrote their plugin loader, involving some change that breaks plugins that unregister other plugins. Is there anything that can be done to work around this?
Specifically, what's happening is that the old version of the plugin will be disabled, but the new version is not loaded. Here's what the log looks like:
[11:59:23 INFO]: [BileTools] File change detected: UltraCosmetics-3.0-DEV-b7.jar
[11:59:23 INFO]: [BileTools] Identified Plugin: UltraCosmetics <-> UltraCosmetics-3.0-DEV-b7.jar
[11:59:23 INFO]: [BileTools] Reloading: UltraCosmetics
[11:59:23 INFO]: [BileTools] [STDOUT] Backed up UltraCosmetics 3.0-DEV-b7
[11:59:23 INFO]: [Bile]: Unloading UltraCosmetics
[11:59:23 INFO]: [UltraCosmetics] Disabling UltraCosmetics v3.0-DEV-b7
It seems like this is the check that's failing with the change in Paper:
if (getPlugin(file) != null) {
return;
}
Metadata
Metadata
Assignees
Labels
No labels