1
0
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:
Wilma456 (Jakob0815) 2017-09-13 19:21:17 +02:00 committed by GitHub
parent 1415dd0dae
commit b8630f739a

View File

@ -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