1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-05 19:31:04 +00:00

Remove core.file_exists (it should be implemented with fs::IsFile but i dont know c++ (new commit because i forgot about the autoformatter being on)

This commit is contained in:
TheEt1234 2025-08-16 11:00:29 +02:00
parent 38adf92476
commit 1f5cc57082
3 changed files with 2 additions and 9 deletions

View file

@ -4317,10 +4317,6 @@ Helper functions
* `tool_capabilities`: Tool capabilities table of the item
* `time_from_last_punch`: time in seconds since last punch action
* `wear`: Amount of wear the item starts with (default: 0)
* `core.file_exists(path)`
* Returns true if a file exists
* Use if you only want to check if a file exists, don't use to check if you can open it (example: you can check if a schematic exists before loading it)