From 4592534a180bbc42a13b4ac10d3b7a034bdb6e59 Mon Sep 17 00:00:00 2001 From: Jonathan Coates Date: Tue, 18 May 2021 09:43:14 +0000 Subject: [PATCH] Fix mount suggestion always being printed out --- .../dan200/computercraft/core/filesystem/ResourceMount.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/dan200/computercraft/core/filesystem/ResourceMount.java b/src/main/java/dan200/computercraft/core/filesystem/ResourceMount.java index 583d1e26c..e82db2d94 100644 --- a/src/main/java/dan200/computercraft/core/filesystem/ResourceMount.java +++ b/src/main/java/dan200/computercraft/core/filesystem/ResourceMount.java @@ -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 ); }