mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-20 04:09:51 +00:00
NethanlderPlayClient patch is now in vanilla. The FMLCommonHandler future exception catcher is not needed anymore, it's in Util. The caching of player profiles is now in vanilla (SkinManager).
12 lines
540 B
Diff
12 lines
540 B
Diff
--- ../src-base/minecraft/net/minecraft/client/resources/Locale.java
|
|
+++ ../src-work/minecraft/net/minecraft/client/resources/Locale.java
|
|
@@ -96,6 +96,8 @@
|
|
|
|
private void loadLocaleData(InputStream p_135021_1_) throws IOException
|
|
{
|
|
+ p_135021_1_ = net.minecraftforge.fml.common.FMLCommonHandler.instance().loadLanguage(properties, p_135021_1_);
|
|
+ if (p_135021_1_ == null) return;
|
|
for (String s : IOUtils.readLines(p_135021_1_, Charsets.UTF_8))
|
|
{
|
|
if (!s.isEmpty() && s.charAt(0) != 35)
|