Try to fix items dropping in unloaded areas

This commit is contained in:
Novatux 2015-07-25 14:29:57 +02:00
parent 8e642df6a2
commit bedcf4d646

@ -55,6 +55,7 @@ local function go_next(pos, velocity, stack)
end
for _, vect in ipairs(can_go) do
local npos = vector.add(pos, vect)
minetest.load_position(npos)
local node = minetest.get_node(npos)
local reg_node = minetest.registered_nodes[node.name]
if reg_node then