Skip to content

Commit

Permalink
Fixed 10.2.7 ContentTuning hotfix generation
Browse files Browse the repository at this point in the history
  • Loading branch information
mdX7 authored Oct 11, 2024
1 parent 775a4fe commit 2b773f9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion WowPacketParserModule.V10_0_0_46181/Parsers/HotfixHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 2b773f9

Please sign in to comment.