修复自动获取版本错误...

Signed-off-by: 502647092 <jtb1@163.com>
This commit is contained in:
502647092
2015-11-21 02:41:27 +08:00
parent e1541c27b8
commit 84295a46de
2 changed files with 3 additions and 3 deletions

View File

@ -37,7 +37,7 @@ public class PluginInfo {
}
}
} else if (pom != null && !pom.isEmpty()) {
pom = pom.replace("[name]", plugin.name).replace("[branch]", branch);
pom = pom.replace("[name]", name).replace("[branch]", branch);
sender.sendMessage("§6版本: §b尝试从在线POM文件获取最新版本...");
ver = IOUtil.getXMLTag(pom, "version", plugin.version);
if (ver != null) {