Remove cachedTime from URL, the repo cache is now 1 hour

This commit is contained in:
creeper123123321 2019-03-16 09:24:10 -03:00
parent e460d59790
commit 12e378747d
No known key found for this signature in database
GPG Key ID: 0AC57D54786721D1

View File

@ -81,7 +81,7 @@ public class ViaFabric implements ModInitializer {
localMd5 = DigestUtils.md5Hex(is);
}
}
URL versionsUrl = new URL("https://repo.viaversion.com/" + groupIdPath + "/" + artifactName + "/?" + cachedTime);
URL versionsUrl = new URL("https://repo.viaversion.com/" + groupIdPath + "/" + artifactName + "/");
JLOGGER.info("Checking for " + depName + " updates " + versionsUrl);
HttpURLConnection con = (HttpURLConnection) versionsUrl.openConnection();
con.setRequestProperty("User-Agent", "ViaFabric/" + ViaFabric.getVersion());