fixed a mistake
This commit is contained in:
@@ -40,10 +40,7 @@ public class AppleTunneler extends JavaPlugin {
|
||||
}
|
||||
File[] files = file.listFiles();
|
||||
|
||||
if (files == null) {
|
||||
return;
|
||||
}
|
||||
if (files.length == 0) {
|
||||
if (files == null || files.length == 0) {
|
||||
getLogger().warning("no Identities files found, please put them in " + file.getPath());
|
||||
throw new RuntimeException("no Identities files found");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user