Fix nested directory for language resources. Closes MinecraftForge#1264

This commit is contained in:
Christian 2014-07-31 09:48:03 -02:30
parent 0c088a4299
commit fe29a98c62

View file

@ -48,7 +48,7 @@ public class LanguageRegistry
private Map<String,Properties> modLanguageData=new HashMap<String,Properties>();
private static final Pattern assetENUSLang = Pattern.compile("assets/(.*)/lang/(.*).lang");
private static final Pattern assetENUSLang = Pattern.compile("assets/(.*)/lang/(?:.+/|)([\\w_-]+).lang");
public static LanguageRegistry instance()
{