mirror of
https://e.coding.net/circlecloud/Yum.git
synced 2024-11-22 14:28:46 +00:00
fix: 当仓库未找到插件时没有提示的BUG
Signed-off-by: 502647092 <admin@yumc.pw>
This commit is contained in:
parent
1ef47045de
commit
f8db0e1e51
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user