Merge pull request #529 from Bluenaxela/mc-1.15.x
Pretty sure FileSystemWrapperMount.isDirectory() should call Filesystem.isDir(), not Filesystem.exists()
This commit is contained in:
commit
04509cefec
|
@ -124,7 +124,7 @@ public boolean isDirectory( @Nonnull String path ) throws IOException
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
return m_filesystem.exists( path );
|
return m_filesystem.isDir( path );
|
||||||
}
|
}
|
||||||
catch( FileSystemException e )
|
catch( FileSystemException e )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue