diff options
Diffstat (limited to 'webAO')
| -rw-r--r-- | webAO/client.js | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/webAO/client.js b/webAO/client.js index 59952e0..4a5d643 100644 --- a/webAO/client.js +++ b/webAO/client.js @@ -133,10 +133,8 @@ class Client extends EventEmitter { this.on("EM", this.handleEM.bind(this)); this.on("SM", this.handleSM.bind(this)); this.on("BD", this.handleBD.bind(this)); - this.on("music", this.handlemusic.bind(this)); this.on("DONE", this.handleDONE.bind(this)); this.on("BN", this.handleBN.bind(this)); - this.on("NBG", this.handleNBG.bind(this)); this.on("HP", this.handleHP.bind(this)); this.on("RT", this.handleRT.bind(this)); this.on("ZZ", this.handleZZ.bind(this)); @@ -689,17 +687,6 @@ class Client extends EventEmitter { } /** - * Handles incoming music information, containing all entries - * in the same packet. - * @param {Array} args packet arguments - */ - handlemusic(args) { - for (let i = 0; i < args.length / 2; i++) { - this.musicList[args[2 * i]] = args[2 * i + 1]; - } - } - - /** * Handles the kicked packet * @param {Array} args kick reason */ |
