FS.readFile(Path.join(config.worldPath, dirs.players, uuid + ".dat"), function (err, data) { if (err) throw err; NBT.parse(data, function (err, res) { callback(res); }); });
const schematic = (yield new Promise(function(resolve, reject) { nbt.parse(schematicDataBuffer, function(err, data) { if(err) { return reject(err); } return resolve(data); }); })).value;