Fixes awaiting seed for < v6 clients (#589)
Fixes an issue with awaiting for a seed that matches an informational packet. Thanks @andreakarasho!
This commit is contained in:
parent
8306db9e91
commit
f0969223f7
1 changed files with 1 additions and 1 deletions
|
|
@ -571,7 +571,7 @@ namespace Server.Network
|
|||
int packetLength = length;
|
||||
|
||||
// These can arrive at any time and are only informational
|
||||
if (IncomingPackets.IsInfoPacket(packetId))
|
||||
if (_protocolState != ProtocolState.AwaitingSeed && IncomingPackets.IsInfoPacket(packetId))
|
||||
{
|
||||
_parserState = ParserState.ProcessingPacket;
|
||||
_parserState = HandlePacket(packetReader, packetId, length, out packetLength);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue