From eed43032bce936e66e323085797f598387c06694 Mon Sep 17 00:00:00 2001 From: Jean-Patrick Guerrero Date: Thu, 8 Apr 2021 04:45:19 +0200 Subject: [PATCH] Better chat message --- init.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/init.lua b/init.lua index 3bb0605..79a2956 100644 --- a/init.lua +++ b/init.lua @@ -1255,8 +1255,7 @@ local function select_item(player, name, data, _f) local stack = ItemStack(item) local stackmax = stack:get_stack_max() stack = fmt("%s %s", item, stackmax) - get_stack(player, name, stack, clr("#ff0", fmt("%u x %s", stackmax, item))) - return + return get_stack(player, name, stack, clr("#ff0", fmt("%u x %s", stackmax, get_desc(item)))) end if item == data.query_item then return end