fix(regression): stairs are not rendererd!

This commit is contained in:
Vitaly 2023-10-03 09:13:35 +03:00
commit 6090493bf0

View file

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