fix(regression): stairs are not rendererd!
This commit is contained in:
parent
5d11fae54c
commit
6090493bf0
1 changed files with 1 additions and 1 deletions
|
|
@ -484,7 +484,7 @@ function matchProperties (block, properties) {
|
|||
|
||||
function getModelVariants (block) {
|
||||
// air, cave_air, void_air and so on...
|
||||
if (block.name.includes('air')) return []
|
||||
if (block.name.endsWith('air')) return []
|
||||
const state = blockStates[block.name] ?? blockStates.missing_texture
|
||||
if (!state) return []
|
||||
if (state.variants) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue