From ea36ed50d886677c79ec7ddf056c9815f040835e Mon Sep 17 00:00:00 2001 From: Pierre-Yves Rollo Date: Thu, 18 Jan 2018 21:46:10 +0100 Subject: Added display_lib.entity_spacing variable to centralize entity spacing. --- signs/common.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'signs') diff --git a/signs/common.lua b/signs/common.lua index 49c6dd4..b49716e 100644 --- a/signs/common.lua +++ b/signs/common.lua @@ -158,7 +158,7 @@ function signs.register_sign(mod, name, model) display_entities = { ["signs:display_text"] = { on_display_update = font_lib.on_display_update, - depth = 0.499 - model.depth, + depth = 0.5 - display_lib.entity_spacing - model.depth, size = { x = model.width, y = model.height }, resolution = { x = 64, y = 64 }, maxlines = 1, -- cgit v1.2.3