refactor: ♻️ replace add with vec3.offset
This avoids having to import and creat a `new vec3.v()`
This commit is contained in:
@@ -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!")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user