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:
hondacrx
2021-08-20 18:41:12 -04:00
parent 7d01fb7ca5
commit 2fc1b437d0
+3
View File
@@ -107,6 +107,9 @@ namespace Game
hotfixData.Size = (uint)blobData.Length;
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;
}
}