Bug fix: ResourcePackSend.hasPromptMessage

This commit is contained in:
BruceChen 2022-08-28 15:32:09 +08:00
parent d10ad138f1
commit dff3f23b03
3 changed files with 5 additions and 4 deletions

View file

@ -28,7 +28,7 @@ namespace MinecraftClient.Crypto
{
BaseStream = stream;
if (FastAes.IsSupport())
if (FastAes.IsSupported())
FastAes = new FastAes(key);
else
{

View file

@ -21,7 +21,7 @@ namespace MinecraftClient.Crypto
/// Detects if the required instruction set is supported
/// </summary>
/// <returns>Is it supported</returns>
public static bool IsSupport()
public static bool IsSupported()
{
return Sse2.IsSupported && Aes.IsSupported;
}