mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-12-27 03:37:31 +01:00
Fix mobs jumping against walls again and again due to a typo
This commit is contained in:
parent
f2c978c892
commit
3a02e90c3a
@ -1280,7 +1280,7 @@ local do_jump = function(self)
|
|||||||
}, "air")
|
}, "air")
|
||||||
|
|
||||||
-- we don't attempt to jump if there's a stack of blocks blocking
|
-- we don't attempt to jump if there's a stack of blocks blocking
|
||||||
if minetest.registered_nodes[nodTop.name] == true then
|
if minetest.registered_nodes[nodTop.name].walkable == true then
|
||||||
return false
|
return false
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user