public final boolean networkCheck(Map<String, String> remoteVersions, Side side) throws InvalidVersionSpecificationException {
if (!requiresRemoteFrom(side)) {
return true;
}
Mod mod = getClass().getAnnotation(Mod.class);
String _modid = mod.modid();
if (!remoteVersions.containsKey(_modid)) {
return false;
}
String remotes = mod.acceptableRemoteVersions();
if (!"*".equals(remotes)) {
String remote = remoteVersions.get(_modid);
if (Strings.isNullOrEmpty(remotes)) {
return getModVersion().equalsIgnoreCase(remote);