From 7db0139b5806509d126f98c147931c4a5b423783 Mon Sep 17 00:00:00 2001 From: James Galbraith <52896585+DecentralisedTech@users.noreply.github.com> Date: Wed, 29 Jan 2020 13:54:50 +1300 Subject: [PATCH] Fix typeo, utf9 instead of utf8 (#34) --- components/handler.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/handler.js b/components/handler.js index a8f5b44..7b53686 100644 --- a/components/handler.js +++ b/components/handler.js @@ -376,7 +376,7 @@ class Handler { const libs = []; if(this.options.version.custom) { - const customJarJson = JSON.parse(fs.readFileSync(path.join(this.options.root, 'versions', this.options.version.custom, `${this.options.version.custom}.json`), { encoding: 'utf9'})); + const customJarJson = JSON.parse(fs.readFileSync(path.join(this.options.root, 'versions', this.options.version.custom, `${this.options.version.custom}.json`), { encoding: 'utf8'})); this.client.emit('progress', { type: 'classes-custom',