mirror of
https://github.com/ChomeNS/chomens-bot-mc.git
synced 2024-11-14 10:44:55 -05:00
idk just a small thing
This commit is contained in:
parent
ce24a7850a
commit
4d6d4bc67d
1 changed files with 2 additions and 2 deletions
|
@ -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 }
|
||||
|
|
Loading…
Reference in a new issue