forked from VoxeLibre/VoxeLibre
master #15
|
@ -343,7 +343,7 @@ minetest.register_abm({
|
||||||
local abovenode = minetest.get_node({x=pos.x, y=pos.y+1, z=pos.z})
|
local abovenode = minetest.get_node({x=pos.x, y=pos.y+1, z=pos.z})
|
||||||
if not minetest.registered_items[abovenode.name] then return end
|
if not minetest.registered_items[abovenode.name] then return end
|
||||||
-- Don't bother checking item enties if node above is a container (should save some CPU)
|
-- Don't bother checking item enties if node above is a container (should save some CPU)
|
||||||
if minetest.get_item_group(abovenode.name, "container") then
|
if minetest.get_item_group(abovenode.name, "container") ~= 0 then
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
local meta = minetest.get_meta(pos)
|
local meta = minetest.get_meta(pos)
|
||||||
|
|
Loading…
Reference in New Issue