Fix mount suggestion always being printed out
This commit is contained in:
parent
28165bfcd6
commit
4592534a18
|
@ -123,7 +123,7 @@ private void load()
|
||||||
if( !hasAny )
|
if( !hasAny )
|
||||||
{
|
{
|
||||||
ComputerCraft.log.warn( "Cannot find any files under /data/{}/{} for resource mount.", namespace, subPath );
|
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 );
|
ComputerCraft.log.warn( "There are files under /data/{}/{} though. Did you get the wrong namespace?", existingNamespace, subPath );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue