mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-12-23 16:39:33 +01:00
Fix mob detection of fences and walls
This commit is contained in:
parent
e37411dc13
commit
c98df597fc
1 changed files with 2 additions and 1 deletions
|
@ -788,7 +788,8 @@ local do_jump = function(self)
|
|||
or minetest.registered_items[nod.name].walkable then
|
||||
|
||||
if not nod.name:find("fence")
|
||||
and not nod.name:find("gate") then
|
||||
and not nod.name:find("fence_gate")
|
||||
and not nod.name:find("wall") then
|
||||
|
||||
local v = self.object:get_velocity()
|
||||
|
||||
|
|
Loading…
Reference in a new issue