Fix mount suggestion always being printed out

This commit is contained in:
Jonathan Coates
2021-05-18 09:44:11 +00:00
parent 28165bfcd6
commit 4592534a18
@@ -123,7 +123,7 @@ public final class ResourceMount implements IMount
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 );
}