Move LaunguageRegistry call above normal asset loading to allow resource packs to override mod's language systems.

This commit is contained in:
Lex Manos 2014-07-14 13:53:37 -07:00
parent b1ec7b420c
commit 59c628f777

View file

@ -9,11 +9,11 @@
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import java.io.IOException;
@@ -83,6 +85,7 @@
@@ -82,6 +84,7 @@
arraylist.add(this.field_135048_c);
}
field_135049_a.func_135022_a(p_110549_1_, arraylist);
+ LanguageRegistry.instance().loadLanguageTable(field_135049_a.field_135032_a, this.field_135048_c);
field_135049_a.func_135022_a(p_110549_1_, arraylist);
StringTranslate.func_135063_a(field_135049_a.field_135032_a);
}