mirror of
https://github.com/PrismarineJS/node-minecraft-protocol.git
synced 2024-11-30 11:07:08 -05:00
Allow commands not to be signed (#1277)
This commit is contained in:
parent
80d038bd61
commit
21240f8ab2
1 changed files with 1 additions and 1 deletions
|
@ -371,7 +371,7 @@ module.exports = function (client, options) {
|
|||
command,
|
||||
timestamp: options.timestamp,
|
||||
salt: options.salt,
|
||||
argumentSignatures: client.profileKeys ? signaturesForCommand(command, options.timestamp, options.salt, options.preview, acknowledgements) : [],
|
||||
argumentSignatures: (client.profileKeys && client._session) ? signaturesForCommand(command, options.timestamp, options.salt, options.preview, acknowledgements) : [],
|
||||
messageCount: client._lastSeenMessages.pending,
|
||||
acknowledged
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue