English htmls are considered to use the default path.
This commit is contained in:
@@ -156,6 +156,10 @@ public class HtmCache
|
||||
content = loadFile(new File(Config.SCRIPT_ROOT, newPath));
|
||||
}
|
||||
}
|
||||
if (content == null)
|
||||
{
|
||||
content = HTML_CACHE.get(path);
|
||||
}
|
||||
|
||||
if ((player != null) && player.isGM() && Config.GM_DEBUG_HTML_PATHS)
|
||||
{
|
||||
|
@@ -12644,7 +12644,7 @@ public final class PlayerInstance extends Playable
|
||||
_lang = Config.MULTILANG_DEFAULT;
|
||||
}
|
||||
|
||||
_htmlPrefix = "data/lang/" + _lang + "/";
|
||||
_htmlPrefix = _lang.equals("en") ? "" : "data/lang/" + _lang + "/";
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user