style: fix crlf -> lf

cover
jay 3 years ago
parent 288b7045b6
commit 65d13a3379
  1. 42
      lib/plugins/informer.js

@ -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 }
Loading…
Cancel
Save