mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-12-24 00:49:34 +01:00
quick fix 'not def and def.walkable'
This commit is contained in:
parent
2958d96967
commit
e0734952ce
1 changed files with 2 additions and 2 deletions
|
@ -753,7 +753,7 @@ local is_at_cliff_or_danger = function(self)
|
|||
return true
|
||||
else
|
||||
local def = minetest.registered_nodes[bnode.name]
|
||||
return (not def and def.walkable)
|
||||
return not (def and def.walkable)
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -789,7 +789,7 @@ local is_at_water_danger = function(self)
|
|||
return true
|
||||
else
|
||||
local def = minetest.registered_nodes[bnode.name]
|
||||
return (not def and def.walkable)
|
||||
return not (def and def.walkable)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue