add block.get_textures

This commit is contained in:
MihailRis
2024-07-03 05:15:15 +03:00
parent 8302bfe98e
commit 1c4e13dc67
3 changed files with 24 additions and 1 deletions
+2
View File
@@ -139,6 +139,8 @@ void ModelBatch::setTexture(const std::string& name,
setTexture(atlas->getTexture());
if (auto reg = atlas->getIf(name.substr(sep+1))) {
region = *reg;
} else {
setTexture("blocks:notfound", varTextures);
}
}
}