Core/PacketIO: Fixed CMSG_QUERY_REALM_NAME not being handled and not sending any responses
Port From (https://github.com/TrinityCore/TrinityCore/commit/7f8a932b8bfa345ab8a0647125e033883f4a3ab8)
This commit is contained in:
@@ -324,7 +324,7 @@ namespace Game
|
||||
SendPacket(queryItemTextResponse);
|
||||
}
|
||||
|
||||
[WorldPacketHandler(ClientOpcodes.QueryRealmName, Processing = PacketProcessing.Inplace)]
|
||||
[WorldPacketHandler(ClientOpcodes.QueryRealmName, Status = SessionStatus.Authed, Processing = PacketProcessing.Inplace)]
|
||||
void HandleQueryRealmName(QueryRealmName queryRealmName)
|
||||
{
|
||||
RealmQueryResponse realmQueryResponse = new();
|
||||
@@ -341,6 +341,8 @@ namespace Game
|
||||
}
|
||||
else
|
||||
realmQueryResponse.LookupState = (byte)ResponseCodes.Failure;
|
||||
|
||||
SendPacket(realmQueryResponse);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user