diff --git a/BattleBitAPI/Server/ServerListener.cs b/BattleBitAPI/Server/ServerListener.cs index 025d9d98..fd9b006a 100644 --- a/BattleBitAPI/Server/ServerListener.cs +++ b/BattleBitAPI/Server/ServerListener.cs @@ -596,18 +596,18 @@ private async Task mInternalOnClientConnecting(TcpClient client) playerInternal.CurrentLoadout = loadout; playerInternal.CurrentWearings = wearings; - //Modifications - { - readStream.Reset(); - if (!await networkStream.TryRead(readStream, 4, source.Token)) - throw new Exception("Unable to read the Modifications Size"); - var modificationSize = (int)readStream.ReadUInt32(); - - readStream.Reset(); - if (!await networkStream.TryRead(readStream, modificationSize, source.Token)) - throw new Exception("Unable to read the Modifications"); - playerInternal._Modifications.Read(readStream); - } + ////Modifications + //{ + // readStream.Reset(); + // if (!await networkStream.TryRead(readStream, 4, source.Token)) + // throw new Exception("Unable to read the Modifications Size"); + // var modificationSize = (int)readStream.ReadUInt32(); +// + // readStream.Reset(); + // if (!await networkStream.TryRead(readStream, modificationSize, source.Token)) + // throw new Exception("Unable to read the Modifications"); + // playerInternal._Modifications.Read(readStream); + //} //Call new instance callback if needed. if (isNewClient)