Skip to content

Commit 4ffa7f1

Browse files
committed
v2.5.6 - Delegate unloading to ServerUtilsUpdater
1 parent aa6452d commit 4ffa7f1

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

Common/src/main/java/net/frankheijden/serverutils/common/tasks/UpdateCheckerTask.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -247,8 +247,6 @@ private void tryReloadPlugin(File pluginFile, File updaterFile) {
247247
return;
248248
}
249249

250-
plugin.getPluginManager().disablePlugin(ServerUtilsApp.getPlatformPlugin());
251-
plugin.getPluginManager().unloadPlugin((Object) ServerUtilsApp.getPlatformPlugin()).tryClose();
252250
updater.update(pluginFile);
253251
updaterFile.delete();
254252
});

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ plugins {
55

66
group = 'net.frankheijden.serverutils'
77
String dependencyDir = group + '.dependencies'
8-
version = '2.5.5'
8+
version = '2.5.6'
99

1010
sourceCompatibility = targetCompatibility = JavaVersion.VERSION_1_8
1111

0 commit comments

Comments
 (0)