Core/Hotfixes: Add locales to hotfix_blob

Port From (https://github.com/TrinityCore/TrinityCore/commit/590f541019f7630f614110c60ce3653b17ca77e2)
This commit is contained in:
hondacrx
2020-07-15 14:22:14 -04:00
parent baa9ab6558
commit 2c9a8ea291
3 changed files with 39 additions and 11 deletions
+1 -1
View File
@@ -84,7 +84,7 @@ namespace Game
}
else
{
byte[] blobData = Global.DB2Mgr.GetHotfixBlobData(hotfixRecord.TableHash, hotfixRecord.RecordID);
byte[] blobData = Global.DB2Mgr.GetHotfixBlobData(hotfixRecord.TableHash, hotfixRecord.RecordID, GetSessionDbcLocale());
if (blobData != null)
{
hotfixData.Size.Set((uint)blobData.Length);