Compare commits

..

2 Commits

Author SHA1 Message Date
jay
902732c6dd chore: ⬆️ update deps 2020-12-25 07:20:05 +05:00
jay
65d13a3379 style: fix crlf -> lf 2020-12-25 07:17:54 +05:00
2 changed files with 32 additions and 32 deletions

View File

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

View File

@ -34,20 +34,20 @@
"require-self": "^0.2.3"
},
"dependencies": {
"dotenv-packed": "^1.2.1",
"minecraft-data": "^2.70.2",
"mineflayer": "^2.34.0",
"mineflayer-armor-manager": "^1.3",
"mineflayer-pathfinder": "^1.1",
"mineflayer-pvp": "^1",
"prismarine-block": "^1",
"prismarine-chat": "^1",
"mineflayer": "^2.39.2",
"mineflayer-armor-manager": "^1.3.0",
"mineflayer-pathfinder": "^1.2.3",
"mineflayer-pvp": "^1.0.2",
"prismarine-block": "^1.7.2",
"prismarine-chat": "^1.0.3",
"prismarine-entity": "^1.1.0",
"prismarine-item": "^1.5.0",
"prismarine-nbt": "^1.3",
"prismarine-recipe": "^1",
"typescript": "^4",
"vec3": "^0.1",
"dotenv-packed": "^1.2"
"prismarine-nbt": "^1.3.0",
"prismarine-recipe": "^1.1.0",
"typescript": "^4.1.3",
"vec3": "^0.1.7"
},
"files": [
"lib/**/*"