rename BlockModel to BlockModelType

This commit is contained in:
MihailRis
2025-04-27 15:18:14 +03:00
parent ad07ec61cd
commit 718f5d1089
10 changed files with 43 additions and 45 deletions
+1 -1
View File
@@ -312,7 +312,7 @@ static int l_get_textures(lua::State* L) {
static int l_get_model(lua::State* L) {
if (auto def = require_block(L)) {
return lua::pushlstring(L, BlockModelMeta.getName(def->model));
return lua::pushlstring(L, BlockModelTypeMeta.getName(def->model));
}
return 0;
}