From 0d51a01d9d98991184e163dd9cf77eb6c2319cee Mon Sep 17 00:00:00 2001 From: osmarks Date: Fri, 27 Jul 2018 09:57:14 +0100 Subject: [PATCH] Fix yet another typo --- backend-chests.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend-chests.lua b/backend-chests.lua index 25d3283..e3cbca3 100644 --- a/backend-chests.lua +++ b/backend-chests.lua @@ -97,7 +97,7 @@ local function search(query, threshold) return true, distance else return false end end) - return d.sort(results, function(x) return x.extra end) -- sort returned results by closeness to query + return d.sort_by(results, function(x) return x.extra end) -- sort returned results by closeness to query end local function fetch_by_location(loc, limit)