Skip to content

Commit

Permalink
Merge pull request #55 from AnyBananaGAME/develop
Browse files Browse the repository at this point in the history
chore(protocol): update login-tokens.ts
  • Loading branch information
PMK744 authored Jul 17, 2024
2 parents 49c15d5 + 6f7b321 commit 277b859
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/protocol/src/proto/types/login-tokens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class LoginTokens extends DataType {
}

public static override write(stream: BinaryStream, value: LoginTokens): void {
stream.writeVarInt(value.identity.length + value.client.length); // Probably wrong
stream.writeVarInt(value.identity.length + value.client.length + 8); // Should be rigt?
stream.writeString32(value.identity, Endianness.Little);
stream.writeString32(value.client, Endianness.Little);
}
Expand Down

0 comments on commit 277b859

Please sign in to comment.