From 549899ae12ca6f3d78d86979a35b4209281527bb Mon Sep 17 00:00:00 2001 From: kaadmy Date: Fri, 16 Oct 2015 13:33:24 -0700 Subject: [PATCH] increased item_drop margin a tad --- mods/item_drop/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/item_drop/init.lua b/mods/item_drop/init.lua index cffe256..65fdc38 100644 --- a/mods/item_drop/init.lua +++ b/mods/item_drop/init.lua @@ -15,7 +15,7 @@ minetest.register_globalstep( local pos = player:getpos() local inv = player:get_inventory() - for _,object in ipairs(minetest.get_objects_inside_radius(pos, 1.25)) do + for _,object in ipairs(minetest.get_objects_inside_radius(pos, 1.35)) do if not object:is_player() and object:get_luaentity() and object:get_luaentity().name == "__builtin:item" and valid(object) then if inv and inv:room_for_item("main", ItemStack(object:get_luaentity().itemstring)) then local pos1 = pos