diff --git a/lib/plugins/informer.js b/lib/plugins/informer.js index 082a333..69cd638 100644 --- a/lib/plugins/informer.js +++ b/lib/plugins/informer.js @@ -2,7 +2,7 @@ let cfg let bot let mcData -function info() { +function block() { const block = bot.blockAtCursor() console.log(block) cfg.quiet || bot.chat([block.type, block.name].join(": ")) @@ -19,4 +19,4 @@ const load = (config) => { const unload = () => {} -module.exports = { load, unload, info } \ No newline at end of file +module.exports = { load, unload, block } \ No newline at end of file