diff --git a/plugins/vm.js b/plugins/vm.js index 3bb2592..b523794 100644 --- a/plugins/vm.js +++ b/plugins/vm.js @@ -9,6 +9,7 @@ const cows = require('cowsay2/cows') const { VM } = require('vm2') const randomstring = require('randomstring') const mineflayer = require('mineflayer') +const Vec3 = require('vec3') function inject (bot) { const chatMessage = require('prismarine-chat')(bot.version) const mcData = require('minecraft-data')(bot.version) @@ -36,7 +37,8 @@ function inject (bot) { generateEaglerUsername, cowsay, cows, - mcData + mcData, + Vec3 } } bot.vm = new VM(bot.vmOptions)