fix: 当仓库未找到插件时没有提示的BUG

Signed-off-by: 502647092 <admin@yumc.pw>
This commit is contained in:
502647092 2016-08-09 16:37:46 +08:00
parent 1ef47045de
commit f8db0e1e51

View File

@ -174,6 +174,7 @@ public class YumAPI {
if (pi != null) { if (pi != null) {
return install(sender, pi.name, pi.getUrl(sender, version)); return install(sender, pi.name, pi.getUrl(sender, version));
} }
sender.sendMessage("§4错误: §c仓库中未找到插件 §b" + pluginname + " §c安装失败!");
return false; return false;
} }