From 76a55918543d80f42772798ebec607b8437f3a37 Mon Sep 17 00:00:00 2001 From: sD Date: Fri, 20 Dec 2019 02:02:52 +0100 Subject: this isn't even a real packet --- webAO/client.js | 13 ------------- 1 file changed, 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)); @@ -688,17 +686,6 @@ class Client extends EventEmitter { this.serv.send("RD#%"); } - /** - * 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 -- cgit