fix(informer): 🐛 use block.type instead of block.id

`block.id` is nonexistent when tested live
This commit is contained in:
jay 2021-01-05 08:32:30 +05:00
parent 034f8d331a
commit 96214ffe37

View File

@ -5,7 +5,7 @@ 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].join(": ")) cfg.quiet || bot.chat([block.type, block.name].join(": "))
} }
const load = (config) => { const load = (config) => {