Skip to content

Commit

Permalink
Add ".gz" matcher
Browse files Browse the repository at this point in the history
  • Loading branch information
Aeronica committed Dec 21, 2023
1 parent cf7a22a commit e4f2377
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/aeronicamc/mods/mxtune/caches/FileHelper.java
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,9 @@ public static PathMatcher getMmlMatcher(Path path)
return path.getFileSystem().getPathMatcher("glob:**.{mml,ms2mml,zip}");
}

public static PathMatcher getDatMatcher(Path path)
public static PathMatcher getGZMatcher(Path path)
{
return path.getFileSystem().getPathMatcher("glob:**.{dat}");
return path.getFileSystem().getPathMatcher("glob:**.{gz}");
}

/**
Expand Down

0 comments on commit e4f2377

Please sign in to comment.