mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 11:31:49 +00:00
rename BlockModel to BlockModelType
This commit is contained in:
parent
ad07ec61cd
commit
718f5d1089
10 changed files with 43 additions and 45 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue