Sync with L2jServer HighFive Apr 1st 2015.

This commit is contained in:
MobiusDev
2015-04-02 04:12:06 +00:00
parent 8300183361
commit 1abccfcae0
26 changed files with 283 additions and 248 deletions

View File

@@ -69,10 +69,14 @@ public class DocumentEngine
_log.warning("Dir " + dir.getAbsolutePath() + " not exists");
return;
}
File[] files = dir.listFiles(new XMLFilter());
for (File f : files)
final File[] files = dir.listFiles(new XMLFilter());
if (files != null)
{
hash.add(f);
for (File f : files)
{
hash.add(f);
}
}
}