angram/lib/plugins/armor.js

16 lines
322 B
JavaScript
Raw Normal View History

const armorManager = require('mineflayer-armor-manager')
const mineflayer = require('mineflayer');
let cfg = {}
const load = (config) => {
cfg = config
bot = cfg.bot
bot.loadPlugin(armorManager);
}
const unload = () => { console.warn("armour: may not properly unload") }
module.exports = { load, unload }