Core/Packets: corrected heal prediction type field size that was causing too large packets

This commit is contained in:
Ovahlord
2020-01-27 12:57:54 +01:00
parent 6bd0412f73
commit 39e40f176b

View File

@@ -20,7 +20,7 @@
ByteBuffer& operator<<(ByteBuffer& data, WorldPackets::Spells::SpellHealPrediction const& predict)
{
data << int32(predict.Points);
data << int32(predict.Type);
data << uint8(predict.Type);
if (predict.BeaconGUID.is_initialized())
data << predict.BeaconGUID->WriteAsPacked();
return data;