From 2fc1b437d0039d39cb63867a5f0258044f2ffb25 Mon Sep 17 00:00:00 2001 From: hondacrx Date: Fri, 20 Aug 2021 18:41:12 -0400 Subject: [PATCH] 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) --- Source/Game/Handlers/HotfixHandler.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Source/Game/Handlers/HotfixHandler.cs b/Source/Game/Handlers/HotfixHandler.cs index e57dc83d0..d4651c7bd 100644 --- a/Source/Game/Handlers/HotfixHandler.cs +++ b/Source/Game/Handlers/HotfixHandler.cs @@ -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; } }