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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
plugin.getPluginManager().disablePlugin(ServerUtilsApp.getPlatformPlugin());
|
|
||||||
plugin.getPluginManager().unloadPlugin((Object) ServerUtilsApp.getPlatformPlugin()).tryClose();
|
|
||||||
updater.update(pluginFile);
|
updater.update(pluginFile);
|
||||||
updaterFile.delete();
|
updaterFile.delete();
|
||||||
});
|
});
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ plugins {
|
||||||
|
|
||||||
group = 'net.frankheijden.serverutils'
|
group = 'net.frankheijden.serverutils'
|
||||||
String dependencyDir = group + '.dependencies'
|
String dependencyDir = group + '.dependencies'
|
||||||
version = '2.5.5'
|
version = '2.5.6'
|
||||||
|
|
||||||
sourceCompatibility = targetCompatibility = JavaVersion.VERSION_1_8
|
sourceCompatibility = targetCompatibility = JavaVersion.VERSION_1_8
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue