Core/Spells: send reflect status in SpellGo only when the miss reason is SPELL_MISS_REFLECT

This commit is contained in:
Ovahlord
2020-11-05 09:48:36 +01:00
parent 754c138f89
commit 398ee2dfcd

View File

@@ -104,7 +104,7 @@ ByteBuffer& operator<<(ByteBuffer& data, WorldPackets::Spells::SpellHitInfo cons
{
data << missTarget.MissTarget;
data << uint8(missTarget.Reason);
if (missTarget.ReflectStatus)
if (missTarget.Reason == SPELL_MISS_REFLECT)
data << uint8(missTarget.ReflectStatus);
}
return data;