Skip to content
This repository has been archived by the owner on May 11, 2024. It is now read-only.

Commit

Permalink
Update ImportHelper.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
Razmoth committed Feb 28, 2024
1 parent 5664441 commit d8cad9e
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions AssetStudio/ImportHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -277,11 +277,6 @@ public static FileReader DecryptMark(FileReader reader)
public static FileReader DecryptEnsembleStar(FileReader reader)
{
Logger.Verbose($"Attempting to decrypt file {reader.FileName} with Ensemble Star encryption");
if (Path.GetExtension(reader.FileName) != ".z")
{
Logger.Verbose($"Expected file extension .z, found {Path.GetExtension(reader.FileName)} instead, aborting...");
return reader;
}
using (reader)
{
var data = reader.ReadBytes((int)reader.Length);
Expand Down

0 comments on commit d8cad9e

Please sign in to comment.