From fa6836047aa87b77fb5ce8c00ad5c3baefe89968 Mon Sep 17 00:00:00 2001 From: Maddie <52103563+maddie480@users.noreply.github.com> Date: Wed, 18 Sep 2024 11:35:20 +0200 Subject: [PATCH] Rename variable --- .../everest/updatechecker/ModFilesDatabaseBuilder.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/ovh/maddie480/everest/updatechecker/ModFilesDatabaseBuilder.java b/src/main/java/ovh/maddie480/everest/updatechecker/ModFilesDatabaseBuilder.java index 41453d9..a49589d 100755 --- a/src/main/java/ovh/maddie480/everest/updatechecker/ModFilesDatabaseBuilder.java +++ b/src/main/java/ovh/maddie480/everest/updatechecker/ModFilesDatabaseBuilder.java @@ -366,10 +366,10 @@ private void checkLoennFilesDatabase(String mod, Path modFolder, String version) Set loennEffects = new HashSet<>(); // download file - Path file = FileDownloader.downloadFile("https://gamebanana.com/mmdl/" + version); + Path zipFilePath = FileDownloader.downloadFile("https://gamebanana.com/mmdl/" + version); // extract the en_gb.lang file - try (ZipFile zipFile = ZipFileWithAutoEncoding.open(file.toAbsolutePath().toString())) { + try (ZipFile zipFile = ZipFileWithAutoEncoding.open(zipFilePath.toAbsolutePath().toString())) { checkZipSignature(file); for (String file : fileList) {