From 37876df9fdbb2a5c8aa4148b21a2021fba555c97 Mon Sep 17 00:00:00 2001 From: j502647092 Date: Fri, 21 Aug 2015 22:57:02 +0800 Subject: [PATCH] fix can't update error... --- src/main/java/cn/citycraft/Yum/Yum.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/cn/citycraft/Yum/Yum.java b/src/main/java/cn/citycraft/Yum/Yum.java index 511b8df..376f6ba 100644 --- a/src/main/java/cn/citycraft/Yum/Yum.java +++ b/src/main/java/cn/citycraft/Yum/Yum.java @@ -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])); }