Canary.logSevere("Failed to read main-class for '" + file.getName() + "' in Canary.inf Please specify a main-class entry in Canary.inf");
return null;
}
inf.setString("jarName", jarName);
inf.setString("jarPath", "plugins/".concat(filename));
if (!inf.containsKey("name")) {
inf.setString("name", simpleMain(inf.getString("main-class")));
}
if (!pluginPriorities.containsKey(inf.getString("name"))) {
pluginPriorities.setInt(inf.getString("name"), priorityBase * 10);