fix(core): Converts death animation (#356)

- [X] Converts death animation
- [X] Fixes tests for movement packets
This commit is contained in:
Kamron Batman 2020-12-21 23:43:45 -08:00 • committed by GitHub
parent 77ce2e1980
commit 90393fea2a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 65 additions and 89 deletions

View file

@ -14,6 +14,7 @@
*************************************************************************/
using System.Buffers;
using System.IO;
namespace Server.Network
{
@ -99,6 +100,7 @@ namespace Server.Network
var writer = new CircularBufferWriter(buffer);
writer.Write((byte)0xBF); // Packet ID
writer.Seek(2, SeekOrigin.Current);
writer.Write((ushort)0x1); // Subpacket
writer.Write(keys[0]);
writer.Write(keys[1]);
@ -107,6 +109,7 @@ namespace Server.Network
writer.Write(keys[4]);
writer.Write(keys[5]);
writer.WritePacketLength();
ns.Send(ref buffer, writer.Position);
}