forked from Wuzzy/realtest_mt5
Reduce creative inventory spam a bit
This commit is contained in:
parent
8e9b4d65dc
commit
4b8187b886
|
@ -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 = {}
|
||||||
|
|
Loading…
Reference in New Issue