Core/PacketIO: Fixed CMSG_CAST_SPELL/CMSG_PET_CAST_SPELL/CMSG_USE_ITEM/CMSG_USE_TOY structure

Port From (https://github.com/TrinityCore/TrinityCore/commit/07a0f3bbdc038bc496c02df7480a0b2b58c6e973)
This commit is contained in:
Hondacrx
2025-09-05 21:15:26 -04:00
parent dbf160fbdf
commit d7e3e5ed5b
@@ -1931,7 +1931,7 @@ namespace Game.Networking.Packets
for (var i = 0; i < optionalCurrenciesCount; ++i)
OptionalCurrencies[i].Read(data);
SendCastFlags = data.ReadBits<uint>(5);
SendCastFlags = data.ReadBits<uint>(6);
bool hasMoveUpdate = data.HasBit();
var weightCount = data.ReadBits<uint>(2);
bool hasCraftingOrderID = data.HasBit();