mirror of
https://e.coding.net/circlecloud/Yum.git
synced 2024-11-22 14:28:46 +00:00
fix can't update error...
This commit is contained in:
parent
14e6281a56
commit
37876df9fd
@ -54,6 +54,7 @@ public class Yum extends JavaPlugin {
|
||||
break;
|
||||
case "update":
|
||||
if (plugin != null) {
|
||||
sender.sendMessage(PluginUtil.unload(plugin));
|
||||
if (DownloadUtils.download(sender, args[1])) {
|
||||
sender.sendMessage(PluginUtil.load(args[1]));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user