mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-12-28 12:17:30 +01:00
Merge pull request 'Fix animals jumping way too high upon growing up' (#3316) from growth_jump_fixes into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/3316 Reviewed-by: Michieal <michieal@noreply.git.minetest.land>
This commit is contained in:
commit
60a1a364dc
@ -178,7 +178,7 @@ function mob_class:check_breeding()
|
|||||||
-- jump when fully grown so as not to fall into ground
|
-- jump when fully grown so as not to fall into ground
|
||||||
self.object:set_velocity({
|
self.object:set_velocity({
|
||||||
x = 0,
|
x = 0,
|
||||||
y = self.jump_height*3,
|
y = self.jump_height,
|
||||||
z = 0
|
z = 0
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user