Fix -1,-2 dropped item check
This commit is contained in:
parent
16b7e00486
commit
62fcee9397
4
init.lua
4
init.lua
@ -327,7 +327,7 @@ minetest.register_abm({
|
|||||||
action = function(pos, node, active_object_count, active_object_count_wider)
|
action = function(pos, node, active_object_count, active_object_count_wider)
|
||||||
|
|
||||||
-- do we have any entities nearby to suck into hopper?
|
-- do we have any entities nearby to suck into hopper?
|
||||||
if active_object_count > 0 then
|
-- if active_object_count > 0 then
|
||||||
|
|
||||||
local inv = minetest.get_meta(pos):get_inventory()
|
local inv = minetest.get_meta(pos):get_inventory()
|
||||||
|
|
||||||
@ -350,7 +350,7 @@ minetest.register_abm({
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
-- end
|
||||||
|
|
||||||
|
|
||||||
local front
|
local front
|
||||||
|
Loading…
x
Reference in New Issue
Block a user