Core: Updated to 11.0.7
Port From (https://github.com/TrinityCore/TrinityCore/commit/4f7079f471401d5cf7885351baabc027813f60f5)
This commit is contained in:
@@ -90,7 +90,8 @@ namespace Game.Networking.Packets
|
||||
_worldPacket.WriteUInt16(CreatureFamily);
|
||||
_worldPacket.WriteUInt16(Specialization);
|
||||
_worldPacket.WriteUInt32(TimeLimit);
|
||||
_worldPacket.WriteUInt16((ushort)((byte)CommandState | (Flag << 16)));
|
||||
_worldPacket.WriteUInt8((byte)CommandState);
|
||||
_worldPacket.WriteUInt8(Flag);
|
||||
_worldPacket.WriteUInt8((byte)ReactState);
|
||||
|
||||
foreach (uint actionButton in ActionButtons)
|
||||
@@ -362,7 +363,8 @@ namespace Game.Networking.Packets
|
||||
public override void Write()
|
||||
{
|
||||
_worldPacket.WritePackedGuid(PetGUID);
|
||||
_worldPacket.WriteUInt16((ushort)((int)CommandState | Flag << 8));
|
||||
_worldPacket.WriteUInt8((byte)CommandState);
|
||||
_worldPacket.WriteUInt8(Flag);
|
||||
_worldPacket.WriteUInt8((byte)ReactState);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user