diff --git a/Source/Game/Chat/Commands/CharacterCommands.cs b/Source/Game/Chat/Commands/CharacterCommands.cs index 3e76d7369..ba983885f 100644 --- a/Source/Game/Chat/Commands/CharacterCommands.cs +++ b/Source/Game/Chat/Commands/CharacterCommands.cs @@ -295,6 +295,10 @@ namespace Game.Chat } } + Player onlinePlayer = playerIdentifier.GetConnectedPlayer(); + if (onlinePlayer != null) + onlinePlayer.GetSession().KickPlayer("HandleCharacterChangeAccountCommand GM Command transferring character to another account"); + PreparedStatement stmt = DB.Characters.GetPreparedStatement(CharStatements.UPD_ACCOUNT_BY_GUID); stmt.AddValue(0, newAccount.GetID()); stmt.AddValue(1, playerIdentifier.GetGUID().GetCounter());