diff --git a/src/client.js b/src/client.js index 871c970..027ec3f 100644 --- a/src/client.js +++ b/src/client.js @@ -167,7 +167,7 @@ class Client extends Connection { encodedLoginPayload = JSON.stringify({ AuthenticationType: authType, Token: '', - Certificate: JSON.stringify({ chain }), // Deprecated legacy certificate chain + Certificate: JSON.stringify({ chain }) // Deprecated legacy certificate chain }) debug('Login payload', encodedLoginPayload) diff --git a/src/client/auth.js b/src/client/auth.js index 3703379..bc78a72 100644 --- a/src/client/auth.js +++ b/src/client/auth.js @@ -8,7 +8,7 @@ const { RealmAPI } = require('prismarine-realms') const AuthenticationType = { Full: 0, // The player's own token Guest: 1, // Split screen sessions, the player is using the host's token - SelfSigned: 2, // Not authenticated + SelfSigned: 2 // Not authenticated } function validateOptions (options) {