mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-12-23 16:39:33 +01:00
Fix cut-n-paste error.
* Swap misplaced lines. * Concatenate conditional expression.
This commit is contained in:
parent
1326b9e7e7
commit
11ee1d133f
1 changed files with 1 additions and 2 deletions
|
@ -1328,9 +1328,8 @@ local do_jump = function(self)
|
||||||
return false
|
return false
|
||||||
end
|
end
|
||||||
|
|
||||||
if self.walk_chance == 0
|
|
||||||
local ndef = minetest.registered_nodes[nod.name]
|
local ndef = minetest.registered_nodes[nod.name]
|
||||||
or ndef and ndef.walkable then
|
if self.walk_chance == 0 or ndef and ndef.walkable then
|
||||||
|
|
||||||
if minetest.get_item_group(nod.name, "fence") == 0
|
if minetest.get_item_group(nod.name, "fence") == 0
|
||||||
and minetest.get_item_group(nod.name, "fence_gate") == 0
|
and minetest.get_item_group(nod.name, "fence_gate") == 0
|
||||||
|
|
Loading…
Reference in a new issue