mirror of
				https://github.com/SquidDev-CC/CC-Tweaked
				synced 2025-10-31 13:42:59 +00:00 
			
		
		
		
	Fix mount suggestion always being printed out
This commit is contained in:
		| @@ -108,8 +108,8 @@ public final class ResourceMount implements IMount { | |||||||
|  |  | ||||||
|         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); | ||||||
|             } |             } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Jonathan Coates
					Jonathan Coates