idk just a small thing

This commit is contained in:
ChomeNS 2023-02-05 18:35:11 +07:00
parent ce24a7850a
commit 4d6d4bc67d

View file

@ -12,7 +12,7 @@ const mineflayer = require('mineflayer')
function inject (bot) {
const chatMessage = require('prismarine-chat')(bot.version)
const mcData = require('minecraft-data')(bot.version)
bot.vmoptions = {
bot.vmOptions = {
timeout: 2000,
sandbox: {
run (cmd) {
@ -39,7 +39,7 @@ function inject (bot) {
mcData
}
}
bot.vm = new VM(bot.vmoptions)
bot.vm = new VM(bot.vmOptions)
};
module.exports = { inject }