Reduce creative inventory spam a bit

This commit is contained in:
Wuzzy 2020-04-17 20:39:19 +02:00
parent 8e9b4d65dc
commit 4b8187b886
1 changed files with 1 additions and 4 deletions

View File

@ -28,10 +28,7 @@ minetest.after(0, function()
on_put = function(inv, listname, index, stack, player) on_put = function(inv, listname, index, stack, player)
end, end,
on_take = function(inv, listname, index, stack, player) on_take = function(inv, listname, index, stack, player)
minetest.log("action", player:get_player_name().." takes item from creative inventory; listname="..dump(listname)..", index="..dump(index)..", stack="..dump(stack)) minetest.log("action", player:get_player_name().." takes item from creative inventory; listname=\""..tostring(listname).."\", index="..dump(index)..", stack=\""..stack:to_string().."\"")
if stack then
minetest.log("action", "stack:get_name()="..dump(stack:get_name())..", stack:get_count()="..dump(stack:get_count()))
end
end, end,
}) })
local creative_list = {} local creative_list = {}