Commit 04adb4c8 authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gato

Do nothing since no .pack files were found

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/trunk@3260 b35dd754-fafc-0310-a699-88a17e54d16e
parent 74a5e17c
...@@ -122,6 +122,12 @@ public class ServerStarter { ...@@ -122,6 +122,12 @@ public class ServerStarter {
return name.endsWith(".pack"); return name.endsWith(".pack");
} }
}); });
if (packedFiles == null) {
// Do nothing since no .pack files were found
return;
}
// Unpack each. // Unpack each.
boolean unpacked = false; boolean unpacked = false;
for (File packedFile : packedFiles) { for (File packedFile : packedFiles) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment