Fixed HtmCache not loading some files.

This commit is contained in:
mobius
2015-02-10 00:28:32 +00:00
parent 66f3bd58dd
commit 20e95e936e

View File

@ -183,7 +183,8 @@ public class HtmCache
}
String content = _cache.get(path);
if (Config.LAZY_CACHE && (content == null))
// TODO: Check why some files do not get in cache on server startup.
if (content == null)
{
content = loadFile(new File(Config.DATAPACK_ROOT, path));
}