diff --git a/api.lua b/api.lua index 4c879af..56a7603 100644 --- a/api.lua +++ b/api.lua @@ -419,7 +419,7 @@ end local function make_sign_texture(lines, pos) local node = minetest.get_node(pos) local def = minetest.registered_items[node.name] - if not def then return end + if not def or not def.entity_info then return end local font_size local line_width