diff --git a/builtin/common/misc_helpers.lua b/builtin/common/misc_helpers.lua index e698a6a416..07fcb52fe3 100644 --- a/builtin/common/misc_helpers.lua +++ b/builtin/common/misc_helpers.lua @@ -876,8 +876,3 @@ function core.parse_coordinates(x, y, z, relative_to) return rx and ry and rz and { x = rx, y = ry, z = rz } end -function core.file_exists(path) - local file = io.open(path, "r") - if file then file:close() return true end - return false -end