style: fix crlf -> lf

This commit is contained in:
jay 2020-12-25 07:17:54 +05:00
parent 288b7045b6
commit 65d13a3379

View File

@ -1,22 +1,22 @@
let cfg let cfg
let bot let bot
let mcData let mcData
function info() { function info() {
const block = bot.blockAtCursor() const block = bot.blockAtCursor()
console.log(block) console.log(block)
cfg.quiet || bot.chat([block.id, block.name]) cfg.quiet || bot.chat([block.id, block.name])
} }
const load = (config) => { const load = (config) => {
cfg = config cfg = config
bot = cfg.bot bot = cfg.bot
cfg.info = { cfg.info = {
quiet: cfg.quiet, quiet: cfg.quiet,
} }
mcData = bot.mcData || (bot.mcData = require('minecraft-data')(bot.version)) mcData = bot.mcData || (bot.mcData = require('minecraft-data')(bot.version))
} }
const unload = () => {} const unload = () => {}
module.exports = { load, unload, info } module.exports = { load, unload, info }