Fix typeo, utf9 instead of utf8 (#34)

This commit is contained in:
James Galbraith 2020-01-29 13:54:50 +13:00 committed by GitHub
parent 8fbe1faaa1
commit 7db0139b58
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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',