mirror of
https://github.com/minetest-mods/item_drop.git
synced 2025-03-14 08:10:24 +01:00
Update init.lua
Co-Authored-By: HybridDog <3192173+HybridDog@users.noreply.github.com>
This commit is contained in:
parent
931788bc9f
commit
59211b0921
5
init.lua
5
init.lua
@ -263,11 +263,6 @@ if legacy_setting_getbool("item_drop.enable_item_pickup",
|
||||
local pos = player:get_pos()
|
||||
pos.y = pos.y+0.5
|
||||
local inv = player:get_inventory()
|
||||
if not inv then
|
||||
minetest.log("error", "[item_drop] Couldn't " ..
|
||||
"get inventory")
|
||||
return
|
||||
end
|
||||
|
||||
local objectlist = minetest.get_objects_inside_radius(pos,
|
||||
magnet_mode and magnet_radius or pickup_radius)
|
||||
|
Loading…
x
Reference in New Issue
Block a user