Add missing break in mcl_item_entities

This commit is contained in:
Wuzzy 2017-05-29 22:56:53 +02:00
parent 0b28ae2fe9
commit 4ff31ffa8c
1 changed files with 1 additions and 0 deletions

View File

@ -446,6 +446,7 @@ core.register_entity(":__builtin:item", {
local def = minetest.registered_nodes[nn]
if def and def.walkable == false and nn ~= "ignore" then
shootdir = order[o]
break
end
end
-- If none of the 4 sides is free, shoot upwards