From b03dbf8674d3af5664fc18a381542cb4a839b73f Mon Sep 17 00:00:00 2001 From: badgamernl Date: Thu, 3 Sep 2020 04:22:29 +0200 Subject: [PATCH] Fix player.print --- modules/gui/autofill.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/gui/autofill.lua b/modules/gui/autofill.lua index 4c94c32d..7b066c1f 100644 --- a/modules/gui/autofill.lua +++ b/modules/gui/autofill.lua @@ -181,7 +181,7 @@ end) item.amount = clamped if clamped ~= value then element.text = clamped - player.print({'autofill.invalid', item.amount, rich_img('item', item.name), rich_img('entity', entity_name) }) + player.print{'autofill.invalid', item.amount, rich_img('item', item.name), rich_img('entity', entity_name) } return end end)