mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2025-01-12 19:47:31 +01:00
Fix animals jumping way too high upon growing up
This commit is contained in:
parent
65fb911e5f
commit
f9b021e4c6
@ -178,7 +178,7 @@ function mob_class:check_breeding()
|
||||
-- jump when fully grown so as not to fall into ground
|
||||
self.object:set_velocity({
|
||||
x = 0,
|
||||
y = self.jump_height*3,
|
||||
y = self.jump_height,
|
||||
z = 0
|
||||
})
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user