Get going

This commit is contained in:
catfoolyou
2025-01-28 16:22:01 -05:00
parent e65ed63b59
commit 6ee3b454e1
26 changed files with 80 additions and 102 deletions

View File

@@ -73,7 +73,7 @@ public class LanguageManager implements ResourceManagerReloadListener
}
currentLocale.loadLocaleDataFiles(par1ResourceManager, var2);
StringTranslate.func_135063_a(currentLocale.field_135032_a);
//StringTranslate.func_135063_a(currentLocale.field_135032_a);
}
public boolean isCurrentLocaleUnicode()

View File

@@ -189,7 +189,7 @@ public class Minecraft implements IPlayerUsage
public Minecraft(Session par1Session, int par2, int par3, boolean par4, boolean par5, File par6File, File par7File, File par8File, Proxy par9Proxy, String par10Str)
{
theMinecraft = this;
this.mcLogAgent = new LogAgent("Minecraft-Client", " [CLIENT]", (new File(par6File, "output-client.log")).getAbsolutePath());
this.mcLogAgent = new LogAgent("Minecraft-Client", " [CLIENT]", null);
this.mcDataDir = par6File;
this.fileAssets = par7File;
this.fileResourcepacks = par8File;
@@ -229,25 +229,10 @@ public class Minecraft implements IPlayerUsage
*/
public void displayCrashReport(CrashReport par1CrashReport)
{
File var2 = new File(getMinecraft().mcDataDir, "crash-reports");
File var3 = new File(var2, "crash-" + (new SimpleDateFormat("yyyy-MM-dd_HH.mm.ss")).format(new Date()) + "-client.txt");
System.out.println(par1CrashReport.getCompleteReport());
if (par1CrashReport.getFile() != null)
{
System.out.println("#@!@# Game crashed! Crash report saved to: #@!@# " + par1CrashReport.getFile());
System.exit(-1);
}
else if (par1CrashReport.saveToFile(var3, this.getLogAgent()))
{
System.out.println("#@!@# Game crashed! Crash report saved to: #@!@# " + var3.getAbsolutePath());
System.exit(-1);
}
else
{
System.out.println("#@?@# Game crashed! Crash report could not be saved. #@?@#");
System.exit(-2);
}
System.out.println("#@?@# Game crashed! Crash report could not be saved. #@?@#");
System.exit(-2);
}
public void setServer(String par1Str, int par2)
@@ -294,7 +279,7 @@ public class Minecraft implements IPlayerUsage
Display.setTitle("Minecraft 1.6.4");
this.getLogAgent().logInfo("LWJGL Version: " + Sys.getVersion());
if (Util.getOSType() != EnumOS.MACOS)
/*if (Util.getOSType() != EnumOS.MACOS)
{
try
{
@@ -304,7 +289,7 @@ public class Minecraft implements IPlayerUsage
{
var5.printStackTrace();
}
}
}*/
try
{