jumpdrmive: move animals while jump
This commit is contained in:
parent
7cd14be9ee
commit
3f059d065e
@ -22,7 +22,9 @@ jumpdrive.move_objects = function(source_center, source_pos1, source_pos2, delta
|
||||
if not entity then
|
||||
minetest.log("action", "[jumpdrive] moving object")
|
||||
obj:set_pos( vector.add(objPos, delta_vector) )
|
||||
|
||||
elseif entity.name:find("^mobs_animal:") then
|
||||
minetest.log("action", "[jumpdrive] moving animal")
|
||||
obj:set_pos( vector.add(objPos, delta_vector) )
|
||||
elseif entity.name == "__builtin:item" then
|
||||
minetest.log("action", "[jumpdrive] moving dropped item")
|
||||
obj:set_pos( vector.add(objPos, delta_vector) )
|
||||
|
Loading…
x
Reference in New Issue
Block a user