mirror of
https://github.com/minetest-mods/item_drop.git
synced 2025-07-27 09:20:21 +02:00
Compare commits
3 Commits
soundpitch
...
c1637b1975
Author | SHA1 | Date | |
---|---|---|---|
c1637b1975 | |||
e10486d2aa | |||
2730deca16 |
4
init.lua
4
init.lua
@ -170,7 +170,7 @@ minetest.settings:get_bool("enable_item_pickup") ~= false then
|
||||
local item = ItemStack(ent.itemstring)
|
||||
if inv
|
||||
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)
|
||||
else
|
||||
-- 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
|
||||
print(msg)
|
||||
else
|
||||
minetest.log("info", msg)
|
||||
minetest.log("action", msg)
|
||||
end
|
||||
|
Reference in New Issue
Block a user