mirror of
https://github.com/barkeser2002/CatServer.git
synced 2026-09-25 05:40:00 +03:00
12 lines
559 B
Diff
12 lines
559 B
Diff
--- ../src-base/minecraft/net/minecraft/client/resources/Locale.java
|
|
+++ ../src-work/minecraft/net/minecraft/client/resources/Locale.java
|
|
@@ -95,6 +95,8 @@
|
|
|
|
private void loadLocaleData(InputStream inputStreamIn) throws IOException
|
|
{
|
|
+ inputStreamIn = net.minecraftforge.fml.common.FMLCommonHandler.instance().loadLanguage(properties, inputStreamIn);
|
|
+ if (inputStreamIn == null) return;
|
|
for (String s : IOUtils.readLines(inputStreamIn, StandardCharsets.UTF_8))
|
|
{
|
|
if (!s.isEmpty() && s.charAt(0) != '#')
|