Fixed Unknown pet names.

Fixed Pet's not having a valid position.
This commit is contained in:
hondacrx
2017-07-05 12:11:54 -04:00
parent c2847a7278
commit 50297a11bc
2 changed files with 13 additions and 3 deletions
+3 -2
View File
@@ -499,7 +499,6 @@ namespace Game.Network.Packets
{
_worldPacket.WritePackedGuid(UnitGUID);
_worldPacket.WriteBit(Allow);
_worldPacket.FlushBits();
if (Allow)
{
@@ -515,13 +514,15 @@ namespace Game.Network.Packets
_worldPacket.WriteUInt32(Timestamp);
_worldPacket.WriteString(Name);
}
_worldPacket.FlushBits();
}
public ObjectGuid UnitGUID;
public bool Allow;
public bool HasDeclined;
public DeclinedName DeclinedNames;
public DeclinedName DeclinedNames = new DeclinedName();
public uint Timestamp;
public string Name = "";
}