From 59211b0921fad84f9a35ee899ae4a4ef38eef65d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Blot?= Date: Wed, 15 Apr 2020 18:22:19 +0200 Subject: [PATCH] Update init.lua Co-Authored-By: HybridDog <3192173+HybridDog@users.noreply.github.com> --- init.lua | 5 ----- 1 file changed, 5 deletions(-) diff --git a/init.lua b/init.lua index 314c4eb..bc0fc1a 100644 --- a/init.lua +++ b/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)