add missing local var

This commit is contained in:
tenplus1 2021-02-02 10:02:22 +00:00
parent e24812a834
commit 9655c0964c

View File

@ -177,6 +177,7 @@ core.register_entity(":__builtin:item", {
end
local name1 = stack:get_meta():get_string("description")
local name
if name1 == "" then
name = core.registered_items[itemname].description