fix item.properties
This commit is contained in:
parent
4318b50c2f
commit
92fb19ba5e
@ -191,7 +191,7 @@ void scripting::on_content_load(Content* content) {
|
|||||||
lua::pop(L);
|
lua::pop(L);
|
||||||
}
|
}
|
||||||
if (lua::getglobal(L, "item")) {
|
if (lua::getglobal(L, "item")) {
|
||||||
push_properties_tables(L, indices.blocks);
|
push_properties_tables(L, indices.items);
|
||||||
lua::setfield(L, "properties");
|
lua::setfield(L, "properties");
|
||||||
lua::pop(L);
|
lua::pop(L);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user