From 2b773f9805f3cc34b3aab68ebb76cc1ab0645568 Mon Sep 17 00:00:00 2001 From: ModoX Date: Fri, 11 Oct 2024 15:09:29 +0200 Subject: [PATCH] Fixed 10.2.7 ContentTuning hotfix generation --- .../Parsers/HotfixHandler.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/WowPacketParserModule.V10_0_0_46181/Parsers/HotfixHandler.cs b/WowPacketParserModule.V10_0_0_46181/Parsers/HotfixHandler.cs index 8651955957..8322dd454f 100644 --- a/WowPacketParserModule.V10_0_0_46181/Parsers/HotfixHandler.cs +++ b/WowPacketParserModule.V10_0_0_46181/Parsers/HotfixHandler.cs @@ -1960,7 +1960,11 @@ public static void ContentTuningHandler1027(Packet packet, uint entry, params ob { ContentTuningHotfix1027 hotfix = new ContentTuningHotfix1027(); - hotfix.ID = entry; + if (ClientVersion.AddedInVersion(ClientVersionBuild.V10_2_7_54630)) + hotfix.ID = packet.ReadUInt32("ID", indexes); + else + hotfix.ID = entry; + hotfix.Flags = packet.ReadInt32("Flags", indexes); hotfix.ExpansionID = packet.ReadInt32("ExpansionID", indexes); hotfix.HealthItemLevelCurveID = packet.ReadInt32("HealthItemLevelCurveID", indexes);