mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-05 19:31:04 +00:00
Actually remove core.file_exists
This commit is contained in:
parent
1f5cc57082
commit
78d2217354
1 changed files with 0 additions and 5 deletions
|
@ -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 }
|
return rx and ry and rz and { x = rx, y = ry, z = rz }
|
||||||
end
|
end
|
||||||
|
|
||||||
function core.file_exists(path)
|
|
||||||
local file = io.open(path, "r")
|
|
||||||
if file then file:close() return true end
|
|
||||||
return false
|
|
||||||
end
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue