From 20e95e936e1e14c72b0e83ae42159e714f3d6559 Mon Sep 17 00:00:00 2001 From: mobius <8391001+MobiusDevelopment@users.noreply.github.com> Date: Tue, 10 Feb 2015 00:28:32 +0000 Subject: [PATCH] Fixed HtmCache not loading some files. --- trunk/java/com/l2jserver/gameserver/cache/HtmCache.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/trunk/java/com/l2jserver/gameserver/cache/HtmCache.java b/trunk/java/com/l2jserver/gameserver/cache/HtmCache.java index adb17d5f15..65379730ec 100644 --- a/trunk/java/com/l2jserver/gameserver/cache/HtmCache.java +++ b/trunk/java/com/l2jserver/gameserver/cache/HtmCache.java @@ -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)); }