forked from VoxeLibre/VoxeLibre
Fix mob detection of fences and walls
This commit is contained in:
parent
e37411dc13
commit
c98df597fc
|
@ -788,7 +788,8 @@ local do_jump = function(self)
|
||||||
or minetest.registered_items[nod.name].walkable then
|
or minetest.registered_items[nod.name].walkable then
|
||||||
|
|
||||||
if not nod.name:find("fence")
|
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()
|
local v = self.object:get_velocity()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue