diff --git a/mods/ENTITIES/mcl_mobs/api.lua b/mods/ENTITIES/mcl_mobs/api.lua index a4e87341f5..5f5d6906d6 100644 --- a/mods/ENTITIES/mcl_mobs/api.lua +++ b/mods/ENTITIES/mcl_mobs/api.lua @@ -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