mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2025-03-22 22:12:30 +01:00
Fix mob detection of fences and walls
This commit is contained in:
@ -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()
|
||||
|
||||
|
Reference in New Issue
Block a user