mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-22 10:31:06 +01:00
Reduce the radius in which a cactus destroys items
This commit is contained in:
parent
bbffda3635
commit
a8760c0375
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue