Skip to content

Commit

Permalink
jeez how im so dumb?
Browse files Browse the repository at this point in the history
  • Loading branch information
DryByte committed Oct 18, 2024
1 parent 1569b7a commit 23e1b31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/packets/BasePacket.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class BasePacket {
let packet = Buffer.alloc(size+1);
let offset = 0;

if (typeof this.id == "undefined") {
if (typeof this.id != "undefined") {
packet.writeUInt8(this.id, offset);
offset+=1;
}
Expand Down

0 comments on commit 23e1b31

Please sign in to comment.