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

This commit is contained in:
jay 2021-05-11 09:32:54 +05:00
parent 360eeff02f
commit db459f52e6

View File

@ -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)) {