Skip to content
Snippets Groups Projects
Commit 806f1052 authored by Jonathan Neuschäfer's avatar Jonathan Neuschäfer
Browse files

server: /give: show the actual stackstring

parent 50110e00
No related branches found
No related tags found
No related merge requests found
......@@ -1778,6 +1778,9 @@ local function handle_give_command(cmd, giver, receiver, stackstring)
else
partiality = "partially "
end
-- The actual item stack string may be different from what the "giver"
-- entered (e.g. big numbers are always interpreted as 2^16-1).
stackstring = itemstack:to_string()
if giver == receiver then
minetest.chat_send_player(giver, '"'..stackstring
..'" '..partiality..'added to inventory.');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment