v2.5.6 - Delegate unloading to ServerUtilsUpdater
This commit is contained in:
parent
aa6452dae9
commit
4ffa7f1b99
2 changed files with 1 additions and 3 deletions
|
|
@ -247,8 +247,6 @@ public class UpdateCheckerTask implements Runnable {
|
|||
return;
|
||||
}
|
||||
|
||||
plugin.getPluginManager().disablePlugin(ServerUtilsApp.getPlatformPlugin());
|
||||
plugin.getPluginManager().unloadPlugin((Object) ServerUtilsApp.getPlatformPlugin()).tryClose();
|
||||
updater.update(pluginFile);
|
||||
updaterFile.delete();
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue