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:
parent
38adf92476
commit
1f5cc57082
3 changed files with 2 additions and 9 deletions
|
@ -120,10 +120,7 @@ end
|
|||
function dump(value, indent)
|
||||
indent = indent or "\t"
|
||||
|
||||
assert(
|
||||
type(indent) == "string",
|
||||
"dump()'s second argument should be a string or nil, to dump multiple things use dump({a, b})."
|
||||
)
|
||||
assert(type(indent) == "string", "dump()'s second argument should be a string or nil.")
|
||||
|
||||
local newline = indent == "" and "" or "\n"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue