Skip to content

Commit

Permalink
Rename variable
Browse files Browse the repository at this point in the history
  • Loading branch information
maddie480 authored Sep 18, 2024
1 parent e5b847d commit fa68360
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -366,10 +366,10 @@ private void checkLoennFilesDatabase(String mod, Path modFolder, String version)
Set<String> 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) {
Expand Down

0 comments on commit fa68360

Please sign in to comment.