1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2025-08-30 00:57:55 +00:00

Fix mount suggestion always being printed out

This commit is contained in:
Jonathan Coates
2021-05-18 09:43:14 +00:00
committed by Jummit
parent 9e002beed7
commit 010ebacd1a

View File

@@ -108,8 +108,8 @@ 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 )
ComputerCraft.log.warn( "Cannot find any files under /data/{}/{} for resource mount.", namespace, subPath );
if( existingNamespace != null )
{
ComputerCraft.log.warn("There are files under /data/{}/{} though. Did you get the wrong namespace?", existingNamespace, subPath);
}