mirror of
https://github.com/PrismarineJS/node-minecraft-protocol.git
synced 2024-11-27 17:55:45 -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,
|
command,
|
||||||
timestamp: options.timestamp,
|
timestamp: options.timestamp,
|
||||||
salt: options.salt,
|
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,
|
messageCount: client._lastSeenMessages.pending,
|
||||||
acknowledged
|
acknowledged
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue