From 985b2fe7bebfc6d546398a9a3d848143b70155ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A7=8B=E6=B0=B4?= <1123993881@qq.com> Date: Mon, 6 Nov 2023 22:00:30 +0800 Subject: [PATCH] chore: 3.4.12 released. --- Directory.Build.props | 2 +- RotationSolver/Updaters/SocialUpdater.cs | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Directory.Build.props b/Directory.Build.props index 706198758..0f4a683c4 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -3,7 +3,7 @@ net7.0-windows enable ArchiTed - 3.4.11 + 3.4.12 x64 AnyCPU diff --git a/RotationSolver/Updaters/SocialUpdater.cs b/RotationSolver/Updaters/SocialUpdater.cs index 8d439aa81..d832af1c2 100644 --- a/RotationSolver/Updaters/SocialUpdater.cs +++ b/RotationSolver/Updaters/SocialUpdater.cs @@ -205,6 +205,8 @@ private static async void SayHelloToUsers() internal static string EncryptString(PlayerCharacter player) { + if (player == null) return string.Empty; + try { byte[] inputByteArray = Encoding.UTF8.GetBytes(player.HomeWorld.GameData.InternalName.ToString()