1
0
Fork 0

Fix mob detection of fences and walls

This commit is contained in:
Wuzzy 2019-03-09 00:18:21 +01:00
parent e37411dc13
commit c98df597fc
1 changed files with 2 additions and 1 deletions

View File

@ -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()