diff --git a/src/main/java/cn/citycraft/Yum/utils/DownloadManager.java b/src/main/java/cn/citycraft/Yum/utils/DownloadManager.java index 4b9c7d6..f91d830 100644 --- a/src/main/java/cn/citycraft/Yum/utils/DownloadManager.java +++ b/src/main/java/cn/citycraft/Yum/utils/DownloadManager.java @@ -116,6 +116,6 @@ public class DownloadManager { } public boolean yum(CommandSender sender, String pluginname) { - return run(sender, getUrl(pluginname), new File("YumCenter", pluginname + ".jar")); + return run(sender, getUrl(pluginname), new File("plugins/YumCenter", pluginname + ".jar")); } }