From a8760c0375d02e79e50d39c0378b16f0c290b8e4 Mon Sep 17 00:00:00 2001 From: NO11 Date: Thu, 15 Apr 2021 12:23:08 +0000 Subject: [PATCH] Reduce the radius in which a cactus destroys items --- mods/ITEMS/mcl_core/functions.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/ITEMS/mcl_core/functions.lua b/mods/ITEMS/mcl_core/functions.lua index 5e2a046e6d..732c386b09 100644 --- a/mods/ITEMS/mcl_core/functions.lua +++ b/mods/ITEMS/mcl_core/functions.lua @@ -197,7 +197,7 @@ minetest.register_abm({ interval = 1, chance = 1, action = function(pos, node, active_object_count, active_object_count_wider) - for _,object in pairs(minetest.get_objects_inside_radius(pos, 1.2)) do + for _,object in pairs(minetest.get_objects_inside_radius(pos, 0.9)) do if not object:is_player() and object:get_luaentity() and object:get_luaentity().name == "__builtin:item" then object:remove() end