fix(informer): ✏️ fix typo in isVec3
check function
This commit is contained in:
parent
360eeff02f
commit
db459f52e6
|
@ -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…
Reference in New Issue
Block a user