From c7da2bfa5a76d25d79873d7957ff7be743206197 Mon Sep 17 00:00:00 2001 From: MihailRis Date: Sat, 7 Dec 2024 20:42:10 +0300 Subject: [PATCH] fix item.properties --- src/logic/scripting/scripting.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }