mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-19 03:49:14 +00:00
Fix nested directory for language resources. Closes MinecraftForge#1264
This commit is contained in:
1 parent
0c088a4299
commit
fe29a98c62
1 file changed
+1
-1
@@ -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()
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user