mirror of
https://github.com/PrismarineJS/node-minecraft-protocol.git
synced 2024-11-14 19:04:59 -05:00
Fix offline mode (#1071)
This commit is contained in:
parent
046e3423e3
commit
da85ee369e
1 changed files with 1 additions and 1 deletions
|
@ -490,7 +490,7 @@ class LastSeenMessages extends Array {
|
|||
pending = 0
|
||||
|
||||
push (e) {
|
||||
if (!e) return false // We do not acknowledge unsigned messages
|
||||
if (!e || !e.signature) return false // We do not acknowledge unsigned messages
|
||||
|
||||
// Insert a new entry at the top and shift everything to the right
|
||||
let last = this[0]
|
||||
|
|
Loading…
Reference in a new issue