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 2 additions and 1 deletions
Showing only changes of commit 9bac0da01a - Show all commits

View File

@ -1329,7 +1329,8 @@ local do_jump = function(self)
end
if self.walk_chance == 0
or minetest.registered_items[nod.name].walkable then
local ndef = minetest.registered_nodes[nod.name]
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