Fixes #25 client crash on non en-US clients

This commit is contained in:
hondacrx
2019-01-01 22:34:45 -05:00
parent 1e1c5c77a8
commit 4cad206647
2 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -840,7 +840,7 @@ namespace Game.Network.Packets
_worldPacket.WriteUInt32(ResurrectOffererVirtualRealmAddress);
_worldPacket.WriteUInt32(PetNumber);
_worldPacket.WriteUInt32(SpellID);
_worldPacket.WriteBits(Name.Length, 11);
_worldPacket.WriteBits(Name.GetByteCount(), 11);
_worldPacket.WriteBit(UseTimer);
_worldPacket.WriteBit(Sickness);
_worldPacket.FlushBits();