Merge pull request 'Fix the bug that baby (non-monster) mobs cant jump over blocks' (#3093) from CyberMango/MineClone2:dev/mango/fix_baby_mobs_jump into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/3093 Reviewed-by: ancientmarinerdev <ancientmariner_dev@proton.me>bambootoo
commit
055432c1f7
|
@ -274,7 +274,6 @@ function mob_class:do_jump()
|
||||||
if not self.jump
|
if not self.jump
|
||||||
or self.jump_height == 0
|
or self.jump_height == 0
|
||||||
or self.fly
|
or self.fly
|
||||||
or (self.child and self.type ~= "monster")
|
|
||||||
or self.order == "stand" then
|
or self.order == "stand" then
|
||||||
return false
|
return false
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue