Skip to content

Commit

Permalink
fix item.properties
Browse files Browse the repository at this point in the history
  • Loading branch information
MihailRis committed Dec 7, 2024
1 parent 92cad2b commit c7da2bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/logic/scripting/scripting.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit c7da2bf

Please sign in to comment.