From de2deee86f83638edfc792449d9f5cc846c5e837 Mon Sep 17 00:00:00 2001 From: SmallJoker Date: Mon, 30 May 2016 21:34:39 +0200 Subject: [PATCH] mailbox.lua: Use [resize to resize correctly (#47) mailbox_blank16.png has still an use in nodes.lua for the trampoline node. --- mailbox.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mailbox.lua b/mailbox.lua index 0411333..1985eea 100644 --- a/mailbox.lua +++ b/mailbox.lua @@ -28,7 +28,7 @@ function mailbox:formspec(pos, owner, num) giver = giver.."#FFFF00,"..giver_name..","..i..",#FFFFFF,x "..stack_count.."," -- Hack to force using a 16px resolution for images in formspec's tablecolumn. -- The engine doesn't scale them automatically yet. - img = img..i.."=mailbox_blank16.png^"..img_col(stack_name).."," + img = img..i.."="..img_col(stack_name).."^\\[resize:16x16," end end -- 2.44.0