1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2025-10-26 19:37:39 +00:00

Merge branch 'master' into mc-1.13.x

This commit is contained in:
SquidDev
2019-06-08 08:21:08 +01:00
74 changed files with 669 additions and 231 deletions

View File

@@ -9,7 +9,10 @@ for i = 1, args.n do
local files = fs.find(shell.resolve(args[i]))
if #files > 0 then
for n, file in ipairs(files) do
fs.delete(file)
local ok, err = pcall(fs.delete, file)
if not ok then
printError((err:gsub("^pcall: ", "")))
end
end
else
printError(args[i] .. ": No matching files")