Skip to content

Commit

Permalink
- minor buffer size estimation correction.
Browse files Browse the repository at this point in the history
  • Loading branch information
Hc747 committed Apr 7, 2020
1 parent c9a65a2 commit b31e26b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/net/outgoing-packets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ export class OutgoingPackets {
}

private segment(container: ItemContainer, start: number): { bitset: number, buffer: Buffer } {
const bound = 1 + (7 * 8);
const bound = 7 * 8;
const payload = new Packet(-1, PacketType.FIXED, bound);

let bitset: number = 0;
Expand Down

0 comments on commit b31e26b

Please sign in to comment.