mirror of
https://github.com/MewoLab/AquaDX.git
synced 2026-02-11 05:57:26 +08:00
[F] Encrypt and Decrypt hook run without enabled in config
This commit is contained in:
@@ -25,8 +25,13 @@ public class RemoveEncryption
|
||||
|
||||
public static bool Prefix(byte[] data, ref byte[] __result)
|
||||
{
|
||||
__result = data;
|
||||
return false;
|
||||
if (AquaMai.AppConfig.Fix.RemoveEncryption)
|
||||
{
|
||||
__result = data;
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -40,8 +45,13 @@ public class RemoveEncryption
|
||||
|
||||
public static bool Prefix(byte[] encryptData, ref byte[] __result)
|
||||
{
|
||||
__result = encryptData;
|
||||
return false;
|
||||
if (AquaMai.AppConfig.Fix.RemoveEncryption)
|
||||
{
|
||||
__result = encryptData;
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user