Skip to content

Commit

Permalink
Fix 4.4.1 SMSG_SPELL_ENERGIZE_LOG
Browse files Browse the repository at this point in the history
  • Loading branch information
funjoker committed Nov 12, 2024
1 parent cca2ad0 commit c3698b4
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,10 @@ public static void HandleSpellEnergizeLog(Packet packet)
packet.ReadPackedGuid128("TargetGUID");

packet.ReadInt32<SpellId>("SpellID");
packet.ReadUInt32E<PowerType>("Type");
if (ClientVersion.AddedInVersion(ClientVersionBuild.V4_4_1_57294))
packet.ReadByteE<PowerType>("Type");
else
packet.ReadUInt32E<PowerType>("Type");

packet.ReadInt32("Amount");
packet.ReadInt32("OverEnergize");
Expand Down

0 comments on commit c3698b4

Please sign in to comment.