master #15

Merged
NO11 merged 241 commits from VoxeLibre/VoxeLibre:master into master 2022-03-12 23:42:27 +01:00
1 changed files with 1 additions and 2 deletions
Showing only changes of commit 11ee1d133f - Show all commits

View File

@ -1328,9 +1328,8 @@ local do_jump = function(self)
return false
end
if self.walk_chance == 0
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
and minetest.get_item_group(nod.name, "fence_gate") == 0