"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Tool = exports.plugin = void 0; const Tool_1 = require("./Tool"); const mineflayer_pathfinder_1 = require("mineflayer-pathfinder"); function plugin(bot) { // TODO Replace this with loadPlugin when redundancy protection is in setTimeout(() => { if (bot.pathfinder == null) { bot.loadPlugin(mineflayer_pathfinder_1.pathfinder); } }, 0); bot.tool = new Tool_1.Tool(bot); } exports.plugin = plugin; var Tool_2 = require("./Tool"); Object.defineProperty(exports, "Tool", { enumerable: true, get: function () { return Tool_2.Tool; } });