Skip to content

Commit

Permalink
Fix 4.4.1 SMSG_DISPLAY_TOAST
Browse files Browse the repository at this point in the history
  • Loading branch information
funjoker committed Nov 1, 2024
1 parent af77a59 commit 7ecb37b
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,11 @@ public static void HandleDisplayToast(Packet packet)
{
packet.ReadUInt64("Quantity");

packet.ReadByte("DisplayToastMethod");
if (ClientVersion.AddedInVersion(ClientVersionBuild.V4_4_1_57294))
packet.ReadUInt32("DisplayToastMethod");
else
packet.ReadByte("DisplayToastMethod");

packet.ReadUInt32("QuestID");

packet.ResetBitReader();
Expand Down

0 comments on commit 7ecb37b

Please sign in to comment.