mirror of
https://github.com/pyrollo/display_modpack.git
synced 2024-08-20 12:44:07 +02:00
Fix Poster crash (amend)
This commit is contained in:
parent
8661a5ca62
commit
e51afb851c
@ -26,7 +26,8 @@ local function display_poster(pos, node, player)
|
||||
local formspec
|
||||
local meta = minetest.get_meta(pos)
|
||||
local def = minetest.registered_nodes[node.name].display_entities["signs:display_text"]
|
||||
|
||||
local font = font_api.get_font(meta:get_string("font") or def.font_name)
|
||||
|
||||
-- Title texture
|
||||
local titletexture = font:make_text_texture(
|
||||
meta:get_string("display_text"), 116, 12, 1, "center")
|
||||
|
Loading…
Reference in New Issue
Block a user