3
0
Mirror von https://github.com/GeyserMC/Geyser.git synchronisiert 2024-10-03 16:31:14 +02:00
Dieser Commit ist enthalten in:
onebeastchris 2024-06-25 14:46:11 +02:00
Ursprung 9241957228
Commit 8b87c08ab2

Datei anzeigen

@ -150,7 +150,7 @@ public class WebUtils {
if (cachedSize == size && cachedEtag.equals(con.getHeaderField("ETag")) && if (cachedSize == size && cachedEtag.equals(con.getHeaderField("ETag")) &&
cachedLastModified == con.getLastModified() && downloadLocation.toFile().exists()) { cachedLastModified == con.getLastModified() && downloadLocation.toFile().exists()) {
logger.info("Using cached pack (%s) for %s.".formatted(downloadLocation.getFileName(), url)); logger.debug("Using cached pack (%s) for %s.".formatted(downloadLocation.getFileName(), url));
downloadLocation.toFile().setLastModified(System.currentTimeMillis()); downloadLocation.toFile().setLastModified(System.currentTimeMillis());
packMetadata.toFile().setLastModified(System.currentTimeMillis()); packMetadata.toFile().setLastModified(System.currentTimeMillis());
return downloadLocation; return downloadLocation;