Better chat message
This commit is contained in:
parent
3db6bbead0
commit
eed43032bc
3
init.lua
3
init.lua
|
@ -1255,8 +1255,7 @@ local function select_item(player, name, data, _f)
|
||||||
local stack = ItemStack(item)
|
local stack = ItemStack(item)
|
||||||
local stackmax = stack:get_stack_max()
|
local stackmax = stack:get_stack_max()
|
||||||
stack = fmt("%s %s", item, stackmax)
|
stack = fmt("%s %s", item, stackmax)
|
||||||
get_stack(player, name, stack, clr("#ff0", fmt("%u x %s", stackmax, item)))
|
return get_stack(player, name, stack, clr("#ff0", fmt("%u x %s", stackmax, get_desc(item))))
|
||||||
return
|
|
||||||
end
|
end
|
||||||
|
|
||||||
if item == data.query_item then return end
|
if item == data.query_item then return end
|
||||||
|
|
Ŝarĝante…
Reference in New Issue