refactor: ♻️ replace add with vec3.offset

This avoids having to import and creat a `new vec3.v()`
This commit is contained in:
jay
2021-03-24 00:40:54 +05:00
parent 22490f7ec1
commit 60394e38eb
3 changed files with 5 additions and 8 deletions
-2
View File
@@ -71,9 +71,7 @@ function lookForMobs() {
bot.pvp.attack(entityEnemy)
} else if (entityEnemy) {
bot.lookAt(
// (new v.Vec3(0, 1, 0)).add(
entityEnemy.position
// )
)
cfg.quiet || bot.chat("AH! A creeper! They creep me out!")
}