mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-19 09:31:07 +01:00
Fix slimes not jumping at all
This commit is contained in:
parent
ed336829b4
commit
2423acb297
1 changed files with 2 additions and 2 deletions
|
@ -787,10 +787,10 @@ local do_jump = function(self)
|
||||||
x = pos.x + dir_x,
|
x = pos.x + dir_x,
|
||||||
y = pos.y + 1.5,
|
y = pos.y + 1.5,
|
||||||
z = pos.z + dir_z
|
z = pos.z + dir_z
|
||||||
})
|
}, "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 nodTop ~= nil then
|
if minetest.registered_nodes[nodTop.name] == true then
|
||||||
return false
|
return false
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue