forked from MineClone5/MineClone5
Add missing break in mcl_item_entities
This commit is contained in:
parent
0b28ae2fe9
commit
4ff31ffa8c
|
@ -446,6 +446,7 @@ core.register_entity(":__builtin:item", {
|
||||||
local def = minetest.registered_nodes[nn]
|
local def = minetest.registered_nodes[nn]
|
||||||
if def and def.walkable == false and nn ~= "ignore" then
|
if def and def.walkable == false and nn ~= "ignore" then
|
||||||
shootdir = order[o]
|
shootdir = order[o]
|
||||||
|
break
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
-- If none of the 4 sides is free, shoot upwards
|
-- If none of the 4 sides is free, shoot upwards
|
||||||
|
|
Loading…
Reference in New Issue