use mcping-js, prevent ping loops while the last is still running
This commit is contained in:
@ -223,11 +223,7 @@ class ServerRegistration {
|
||||
|
||||
// Generate an updated hash
|
||||
// This is used by #getFaviconUrl
|
||||
if (!this._faviconHasher) {
|
||||
this._faviconHasher = crypto.createHash('md5')
|
||||
}
|
||||
|
||||
this.faviconHash = this._faviconHasher.update(favicon).digest('hex').toString()
|
||||
this.faviconHash = crypto.createHash('md5').update(favicon).digest('hex').toString()
|
||||
|
||||
return true
|
||||
}
|
||||
|
Reference in New Issue
Block a user