3 Commits

View File

@ -170,7 +170,7 @@ minetest.settings:get_bool("enable_item_pickup") ~= false then
local item = ItemStack(ent.itemstring) local item = ItemStack(ent.itemstring)
if inv if inv
and inv:room_for_item("main", item) and inv:room_for_item("main", item)
and can_pickup(ent, player) then and item_drop.can_pickup(ent, player) then
collect_item(ent, object:get_pos(), player) collect_item(ent, object:get_pos(), player)
else else
-- the acceleration will be reset by the object's on_step -- the acceleration will be reset by the object's on_step
@ -364,5 +364,5 @@ local msg = "[item_drop] loaded after ca. " .. time .. " seconds."
if time > 0.01 then if time > 0.01 then
print(msg) print(msg)
else else
minetest.log("info", msg) minetest.log("action", msg)
end end