fix linting

This commit is contained in:
BuckarooBanzay 2020-07-02 14:17:39 +02:00
parent 1aaae5a400
commit 1e16c542af

View File

@ -25,7 +25,7 @@ module.exports.parse = data => new Promise(function(resolve, reject) {
const params_width = buffer.readUInt8(offset+1);
if (content_width != 2 || params_width != 2){
return reject("content/param width mismatch!")
return reject("content/param width mismatch!");
}
//mapdata (blocks)
@ -86,7 +86,7 @@ module.exports.parse = data => new Promise(function(resolve, reject) {
offset += 2;
const blockName = buffer.subarray(offset, offset+nameLen).toString();
offset += nameLen
offset += nameLen;
console.log("blockName", blockName);
node_names.push(blockName);