diff --git a/EOLib/Net/PacketBuilder.cs b/EOLib/Net/PacketBuilder.cs index cfb1febf1..94e615e89 100644 --- a/EOLib/Net/PacketBuilder.cs +++ b/EOLib/Net/PacketBuilder.cs @@ -67,7 +67,7 @@ public IPacketBuilder AddChar(byte b) public IPacketBuilder AddShort(short s) { - return AddBytes(_encoderService.EncodeNumber(s, 2)); + return AddBytes(_encoderService.EncodeNumber((ushort)s, 2)); } public IPacketBuilder AddThree(int t)