mirror of
https://e.coding.net/circlecloud/Yum.git
synced 2025-09-03 05:06:58 +00:00
@ -587,7 +587,7 @@ public class PluginsManager {
|
|||||||
}
|
}
|
||||||
result = true;
|
result = true;
|
||||||
sender.sendMessage("§6升级: §a开始升级 " + name + " 插件!");
|
sender.sendMessage("§6升级: §a开始升级 " + name + " 插件!");
|
||||||
if (!unload(plugin)) {
|
if (plugin != null && !unload(plugin)) {
|
||||||
FileUtil.copy(file, new File(Bukkit.getUpdateFolderFile().getParentFile(), File.separatorChar + file.getName()));
|
FileUtil.copy(file, new File(Bukkit.getUpdateFolderFile().getParentFile(), File.separatorChar + file.getName()));
|
||||||
}
|
}
|
||||||
load(name);
|
load(name);
|
||||||
|
Reference in New Issue
Block a user