in fact, just bail out if the sign needs no entity

This commit is contained in:
Vanessa Dannenberg 2019-09-18 14:21:56 -04:00
parent a907f9535c
commit e5d525c272
1 changed files with 1 additions and 1 deletions

View File

@ -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