fix(informer): ✏️ fix typo in `isVec3` check function

master
jay 3 years ago
parent 360eeff02f
commit db459f52e6
  1. 2
      lib/plugins/informer.js

@ -16,7 +16,7 @@ let cfg = {
}
function isVec3(vec) {
return this.x && this.y && this.z
return vec?.length === 3 || vec.x && vec.y && vec.z
}
function block(entity = bot.entity, pos = entity?.position?.offset(0, -1, 0)) {

Loading…
Cancel
Save