mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-07-27 19:54:04 +00:00
Fix another NPE in schematics.
This commit is contained in:
@@ -263,7 +263,7 @@ public class SchematicCommands {
|
|||||||
File dir = worldEdit.getWorkingDirectoryFile(worldEdit.getConfiguration().saveDir);
|
File dir = worldEdit.getWorkingDirectoryFile(worldEdit.getConfiguration().saveDir);
|
||||||
List<File> fileList = allFiles(dir);
|
List<File> fileList = allFiles(dir);
|
||||||
|
|
||||||
if (fileList.isEmpty()) {
|
if (fileList == null || fileList.isEmpty()) {
|
||||||
actor.printError("No schematics found.");
|
actor.printError("No schematics found.");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user