diff --git a/src/logic/scripting/scripting.cpp b/src/logic/scripting/scripting.cpp index 9b43cf28c..a8b5f070d 100644 --- a/src/logic/scripting/scripting.cpp +++ b/src/logic/scripting/scripting.cpp @@ -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); }