fix item.properties

This commit is contained in:
MihailRis 2024-12-07 20:42:10 +03:00
parent 4318b50c2f
commit 92fb19ba5e

View File

@ -191,7 +191,7 @@ void scripting::on_content_load(Content* content) {
lua::pop(L);
}
if (lua::getglobal(L, "item")) {
push_properties_tables(L, indices.blocks);
push_properties_tables(L, indices.items);
lua::setfield(L, "properties");
lua::pop(L);
}