Core/PacketIO: Do not send hotfix Status::Valid when we don't have a hotfix blob for current locale
Port From (https://github.com/TrinityCore/TrinityCore/commit/065794ed66e025c7ac57c708bb25ca4f2c6e62e9)
This commit is contained in:
@@ -107,6 +107,9 @@ namespace Game
|
|||||||
hotfixData.Size = (uint)blobData.Length;
|
hotfixData.Size = (uint)blobData.Length;
|
||||||
hotfixQueryResponse.HotfixContent.WriteBytes(blobData);
|
hotfixQueryResponse.HotfixContent.WriteBytes(blobData);
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
// Do not send Status::Valid when we don't have a hotfix blob for current locale
|
||||||
|
hotfixData.Record.HotfixStatus = storage != null ? HotfixRecord.Status.RecordRemoved : HotfixRecord.Status.Invalid;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user