Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
zardoy committed Dec 18, 2024
1 parent db7a9b9 commit 16fe17e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prismarine-viewer/viewer/lib/mesher/models.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ const isCube = (block: Block) => {
if (block.isCube) return true
if (!block.models?.length || block.models.length !== 1) return false
// all variants
return block.models[0].every(v => v.elements!.every(e => {
return block.models[0].every(v => v.elements.every(e => {
return e.from[0] === 0 && e.from[1] === 0 && e.from[2] === 0 && e.to[0] === 16 && e.to[1] === 16 && e.to[2] === 16
}))
}
Expand Down

0 comments on commit 16fe17e

Please sign in to comment.