Skip to content

Commit

Permalink
Fix exception in 1.13.2 due to protobuf rework
Browse files Browse the repository at this point in the history
  • Loading branch information
killerwife committed Nov 9, 2024
1 parent 5563218 commit 8e27a6e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public static void HandleCreatureQueryResponse(Packet packet)
for (uint i = 0; i < displayIdCount; ++i)
{
displayIds[i] = (uint)packet.ReadInt32("DisplayId", i);
response.Models.Add(creature.DisplayId[i] ?? 0);
response.Models.Add(displayIds[i] ?? 0);
packet.ReadSingle("DisplayScale", i);
packet.ReadSingle("DisplayProbability", i);
}
Expand Down

0 comments on commit 8e27a6e

Please sign in to comment.