mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-02-16 02:50:22 +00:00
Add Check requested by dan200
This commit is contained in:
parent
1415dd0dae
commit
b8630f739a
@ -6,7 +6,7 @@ end
|
||||
|
||||
local sNewDir = shell.resolve( tArgs[1] )
|
||||
|
||||
if fs.exists( sNewDir ) then
|
||||
if fs.exists( sNewDir ) and not fs.isDir(sNewDir) then
|
||||
printError( "Destination exists" )
|
||||
return
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user