mirror of
https://github.com/mt-mods/signs_lib.git
synced 2025-06-28 22:06:20 +02:00
Compare commits
2 Commits
2019-09-18
...
2019-09-18
Author | SHA1 | Date | |
---|---|---|---|
e5d525c272 | |||
a907f9535c |
1
api.lua
1
api.lua
@ -419,6 +419,7 @@ end
|
|||||||
local function make_sign_texture(lines, pos)
|
local function make_sign_texture(lines, pos)
|
||||||
local node = minetest.get_node(pos)
|
local node = minetest.get_node(pos)
|
||||||
local def = minetest.registered_items[node.name]
|
local def = minetest.registered_items[node.name]
|
||||||
|
if not def or not def.entity_info then return end
|
||||||
|
|
||||||
local font_size
|
local font_size
|
||||||
local line_width
|
local line_width
|
||||||
|
Reference in New Issue
Block a user