From 2a700df757c7d57d66cfb1e9f48da639a99a49f2 Mon Sep 17 00:00:00 2001 From: sorokya Date: Sat, 26 Mar 2022 08:30:44 +0100 Subject: [PATCH] remove un-needed cast --- EOLib/Domain/Account/AccountActions.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/EOLib/Domain/Account/AccountActions.cs b/EOLib/Domain/Account/AccountActions.cs index a7fcd5aee..c3e7f2b0e 100644 --- a/EOLib/Domain/Account/AccountActions.cs +++ b/EOLib/Domain/Account/AccountActions.cs @@ -93,7 +93,7 @@ public async Task CheckAccountNameWithServer(string accountName) public async Task CreateAccount(ICreateAccountParameters parameters) { var createAccountPacket = new PacketBuilder(PacketFamily.Account, PacketAction.Create) - .AddShort((short)_playerInfoRepository.SessionID) + .AddShort(_playerInfoRepository.SessionID) .AddByte(255) .AddBreakString(parameters.AccountName) .AddBreakString(parameters.Password)