Fix mount suggestion always being printed out

This commit is contained in:
Jonathan Coates 2021-05-18 09:43:14 +00:00
parent 28165bfcd6
commit 4592534a18
1 changed files with 1 additions and 1 deletions

View File

@ -123,7 +123,7 @@ private void load()
if( !hasAny )
{
ComputerCraft.log.warn( "Cannot find any files under /data/{}/{} for resource mount.", namespace, subPath );
if( newRoot != null )
if( existingNamespace != null )
{
ComputerCraft.log.warn( "There are files under /data/{}/{} though. Did you get the wrong namespace?", existingNamespace, subPath );
}