Skip to content

Conversation

@Glavo
Copy link
Member

@Glavo Glavo commented Jan 6, 2026

No description provided.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes a bug in the getEntry() method of ArchiveFileTree that could prevent correct mod recognition. The method previously had incorrect fallback logic that would search for a directory entry when a file entry wasn't found, which could cause mod files to be incorrectly identified.

Key Changes:

  • Removed incorrect fallback logic that searched for directory entries when file entries weren't found
  • Simplified the method to only return file entries, which is the intended behavior
  • Removed unused empty string handling code

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Glavo Glavo merged commit f1bd4bf into HMCL-dev:main Jan 6, 2026
8 checks passed
@Glavo Glavo deleted the parse-mod branch January 6, 2026 13:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant