Sync with L2JServer Jan 2nd 2015.

This commit is contained in:
mobius
2015-01-02 16:44:45 +00:00
parent 94b2621431
commit 54c0ceafb8
439 changed files with 63249 additions and 62327 deletions

View File

@ -146,12 +146,7 @@ public interface DocumentParser
*/
default boolean parseDatapackDirectory(String path, boolean recursive)
{
File dir = new File(path);
if (!dir.exists())
{
dir = new File(Config.DATAPACK_ROOT, path);
}
return parseDirectory(dir, recursive);
return parseDirectory(new File(Config.DATAPACK_ROOT, path), recursive);
}
/**