2012-08-08 12:48:06 +00:00
|
|
|
diff -r -U 3 minecraft\net\minecraft\client\Minecraft.java minecraft_patched\net\minecraft\client\Minecraft.java
|
2012-11-02 03:53:13 +00:00
|
|
|
--- minecraft\net\minecraft\client\Minecraft.java Thu Nov 01 23:59:08 2012
|
|
|
|
+++ minecraft_patched\net\minecraft\client\Minecraft.java Fri Nov 02 00:00:40 2012
|
|
|
|
@@ -543,9 +543,8 @@
|
2012-08-08 12:48:06 +00:00
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
- while(true) {
|
|
|
|
try {
|
|
|
|
- if(this.field_71425_J) {
|
|
|
|
+ while(this.field_71425_J) {
|
|
|
|
if(this.field_71434_R && this.field_71433_S != null) {
|
|
|
|
this.func_71377_b(this.field_71433_S);
|
|
|
|
return;
|
2012-11-02 03:53:13 +00:00
|
|
|
@@ -563,7 +562,6 @@
|
2012-08-08 12:48:06 +00:00
|
|
|
this.func_71373_a(new GuiMemoryErrorScreen());
|
|
|
|
System.gc();
|
|
|
|
}
|
|
|
|
- continue;
|
|
|
|
}
|
|
|
|
} catch (MinecraftError var12) {
|
|
|
|
;
|
2012-11-02 03:53:13 +00:00
|
|
|
@@ -581,8 +579,6 @@
|
2012-08-08 12:48:06 +00:00
|
|
|
this.func_71405_e();
|
|
|
|
}
|
|
|
|
|
|
|
|
- return;
|
|
|
|
- }
|
|
|
|
}
|
|
|
|
|
|
|
|
private void func_71411_J() {
|
2012-11-02 03:53:13 +00:00
|
|
|
diff -r -U 3 minecraft\net\minecraft\src\CallableSuspiciousClasses.java minecraft_patched\net\minecraft\src\CallableSuspiciousClasses.java
|
|
|
|
--- minecraft\net\minecraft\src\CallableSuspiciousClasses.java Thu Nov 01 23:59:09 2012
|
|
|
|
+++ minecraft_patched\net\minecraft\src\CallableSuspiciousClasses.java Fri Nov 02 00:06:57 2012
|
|
|
|
@@ -21,9 +21,14 @@
|
|
|
|
|
|
|
|
public String func_85085_a() {
|
|
|
|
StringBuilder var1 = new StringBuilder();
|
|
|
|
- Field var2 = ClassLoader.class.getDeclaredField("classes");
|
|
|
|
- var2.setAccessible(true);
|
|
|
|
- ArrayList var3 = new ArrayList((Vector)var2.get(CrashReport.class.getClassLoader()));
|
|
|
|
+ ArrayList var3;
|
|
|
|
+ try {
|
|
|
|
+ Field var2 = ClassLoader.class.getDeclaredField("classes");
|
|
|
|
+ var2.setAccessible(true);
|
|
|
|
+ var3 = new ArrayList((Vector)var2.get(CrashReport.class.getClassLoader()));
|
|
|
|
+ } catch(Exception ex) {
|
|
|
|
+ return "";
|
|
|
|
+ }
|
|
|
|
boolean var4 = true;
|
|
|
|
boolean var5 = !CrashReport.class.getCanonicalName().equals("net.minecraft.CrashReport");
|
|
|
|
HashMap var6 = new HashMap();
|
2012-08-08 12:48:06 +00:00
|
|
|
diff -r -U 3 minecraft\net\minecraft\src\CodecMus.java minecraft_patched\net\minecraft\src\CodecMus.java
|
2012-11-02 03:53:13 +00:00
|
|
|
--- minecraft\net\minecraft\src\CodecMus.java Thu Nov 01 23:59:09 2012
|
|
|
|
+++ minecraft_patched\net\minecraft\src\CodecMus.java Fri Nov 02 00:00:40 2012
|
2012-10-20 16:27:30 +00:00
|
|
|
@@ -1,5 +1,6 @@
|
2012-08-08 12:48:06 +00:00
|
|
|
package net.minecraft.src;
|
|
|
|
|
|
|
|
+import java.io.IOException;
|
|
|
|
import java.io.InputStream;
|
|
|
|
import net.minecraft.src.MusInputStream;
|
|
|
|
import paulscode.sound.codecs.CodecJOrbis;
|
|
|
|
@@ -7,6 +8,10 @@
|
|
|
|
public class CodecMus extends CodecJOrbis {
|
|
|
|
|
|
|
|
protected InputStream openInputStream() {
|
2012-10-20 06:57:05 +00:00
|
|
|
- return new MusInputStream(this, this.url, this.urlConnection.getInputStream());
|
2012-08-08 12:48:06 +00:00
|
|
|
+ try {
|
2012-10-20 06:57:05 +00:00
|
|
|
+ return new MusInputStream(this, this.url, this.urlConnection.getInputStream());
|
|
|
|
+ } catch (IOException e) {
|
2012-08-08 12:48:06 +00:00
|
|
|
+ return null;
|
|
|
|
+ }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
diff -r -U 3 minecraft\net\minecraft\src\ComponentStrongholdRightTurn.java minecraft_patched\net\minecraft\src\ComponentStrongholdRightTurn.java
|
2012-11-02 03:53:13 +00:00
|
|
|
--- minecraft\net\minecraft\src\ComponentStrongholdRightTurn.java Thu Nov 01 23:59:09 2012
|
|
|
|
+++ minecraft_patched\net\minecraft\src\ComponentStrongholdRightTurn.java Fri Nov 02 00:00:40 2012
|
2012-08-08 12:48:06 +00:00
|
|
|
@@ -11,6 +11,10 @@
|
|
|
|
|
|
|
|
public class ComponentStrongholdRightTurn extends ComponentStrongholdLeftTurn {
|
|
|
|
|
|
|
|
+ public ComponentStrongholdRightTurn(int p_i3843_1_, Random p_i3843_2_, StructureBoundingBox p_i3843_3_, int p_i3843_4_) {
|
|
|
|
+ super(p_i3843_1_, p_i3843_2_, p_i3843_3_, p_i3843_4_);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
public void func_74861_a(StructureComponent p_74861_1_, List p_74861_2_, Random p_74861_3_) {
|
|
|
|
if(this.field_74885_f != 2 && this.field_74885_f != 3) {
|
|
|
|
this.func_74989_b((ComponentStrongholdStairs2)p_74861_1_, p_74861_2_, p_74861_3_, 1, 1);
|
|
|
|
diff -r -U 3 minecraft\net\minecraft\src\DedicatedServer.java minecraft_patched\net\minecraft\src\DedicatedServer.java
|
2012-11-02 03:53:13 +00:00
|
|
|
--- minecraft\net\minecraft\src\DedicatedServer.java Thu Nov 01 23:59:09 2012
|
|
|
|
+++ minecraft_patched\net\minecraft\src\DedicatedServer.java Fri Nov 02 00:00:40 2012
|
|
|
|
@@ -202,7 +202,7 @@
|
2012-08-08 12:48:06 +00:00
|
|
|
System.exit(0);
|
|
|
|
}
|
|
|
|
|
|
|
|
- protected void func_71190_q() {
|
|
|
|
+ public void func_71190_q() {
|
|
|
|
super.func_71190_q();
|
|
|
|
this.func_71333_ah();
|
|
|
|
}
|
2012-10-20 06:57:05 +00:00
|
|
|
diff -r -U 3 minecraft\net\minecraft\src\EnumFacing.java minecraft_patched\net\minecraft\src\EnumFacing.java
|
2012-11-02 03:53:13 +00:00
|
|
|
--- minecraft\net\minecraft\src\EnumFacing.java Thu Nov 01 23:59:10 2012
|
|
|
|
+++ minecraft_patched\net\minecraft\src\EnumFacing.java Fri Nov 02 00:00:40 2012
|
2012-10-20 06:57:05 +00:00
|
|
|
@@ -15,10 +15,6 @@
|
|
|
|
private final int field_82612_k;
|
|
|
|
private static final EnumFacing[] field_82609_l = new EnumFacing[6];
|
|
|
|
|
|
|
|
- public static EnumFacing[] func_82598_values() {
|
|
|
|
- return (EnumFacing[])field_82610_m.clone();
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
private EnumFacing(int p_i5027_3_, int p_i5027_4_, int p_i5027_5_, int p_i5027_6_, int p_i5027_7_) {
|
|
|
|
this.field_82603_g = p_i5027_3_;
|
|
|
|
this.field_82613_h = p_i5027_4_;
|
|
|
|
@@ -40,7 +36,7 @@
|
|
|
|
}
|
|
|
|
|
|
|
|
static {
|
|
|
|
- EnumFacing[] var0 = func_82598_values();
|
|
|
|
+ EnumFacing[] var0 = values();
|
|
|
|
int var1 = var0.length;
|
|
|
|
|
|
|
|
for(int var2 = 0; var2 < var1; ++var2) {
|
2012-08-08 12:48:06 +00:00
|
|
|
diff -r -U 3 minecraft\net\minecraft\src\IntegratedServer.java minecraft_patched\net\minecraft\src\IntegratedServer.java
|
2012-11-02 03:53:13 +00:00
|
|
|
--- minecraft\net\minecraft\src\IntegratedServer.java Thu Nov 01 23:59:10 2012
|
|
|
|
+++ minecraft_patched\net\minecraft\src\IntegratedServer.java Fri Nov 02 00:00:40 2012
|
2012-08-15 00:09:24 +00:00
|
|
|
@@ -98,7 +98,7 @@
|
2012-08-08 12:48:06 +00:00
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
|
|
|
- protected void func_71217_p() {
|
|
|
|
+ public void func_71217_p() {
|
|
|
|
boolean var1 = this.field_71348_o;
|
|
|
|
this.field_71348_o = this.field_71347_n.func_71752_f();
|
|
|
|
if(!var1 && this.field_71348_o) {
|
|
|
|
diff -r -U 3 minecraft\net\minecraft\src\RenderGlobal.java minecraft_patched\net\minecraft\src\RenderGlobal.java
|
2012-11-02 03:53:13 +00:00
|
|
|
--- minecraft\net\minecraft\src\RenderGlobal.java Thu Nov 01 23:59:11 2012
|
|
|
|
+++ minecraft_patched\net\minecraft\src\RenderGlobal.java Fri Nov 02 00:00:40 2012
|
|
|
|
@@ -1457,7 +1457,7 @@
|
2012-08-08 12:48:06 +00:00
|
|
|
double var15 = this.field_72777_q.field_71451_h.field_70165_t - p_72726_2_;
|
|
|
|
double var17 = this.field_72777_q.field_71451_h.field_70163_u - p_72726_4_;
|
|
|
|
double var19 = this.field_72777_q.field_71451_h.field_70161_v - p_72726_6_;
|
|
|
|
- Object var21 = null;
|
|
|
|
+ EntityFX var21 = null;
|
|
|
|
if(p_72726_1_.equals("hugeexplosion")) {
|
|
|
|
this.field_72777_q.field_71452_i.func_78873_a(var21 = new EntityHugeExplodeFX(this.field_72769_h, p_72726_2_, p_72726_4_, p_72726_6_, p_72726_8_, p_72726_10_, p_72726_12_));
|
|
|
|
} else if(p_72726_1_.equals("largeexplode")) {
|
|
|
|
diff -r -U 3 minecraft\net\minecraft\src\TcpMasterThread.java minecraft_patched\net\minecraft\src\TcpMasterThread.java
|
2012-11-02 03:53:13 +00:00
|
|
|
--- minecraft\net\minecraft\src\TcpMasterThread.java Thu Nov 01 23:59:12 2012
|
|
|
|
+++ minecraft_patched\net\minecraft\src\TcpMasterThread.java Fri Nov 02 00:00:40 2012
|
2012-08-08 12:48:06 +00:00
|
|
|
@@ -11,6 +11,7 @@
|
|
|
|
this.field_74504_a = p_i3285_1_;
|
|
|
|
}
|
|
|
|
|
|
|
|
+ @SuppressWarnings("deprecation")
|
|
|
|
public void run() {
|
|
|
|
try {
|
|
|
|
Thread.sleep(5000L);
|
|
|
|
diff -r -U 3 minecraft\net\minecraft\src\ThreadedFileIOBase.java minecraft_patched\net\minecraft\src\ThreadedFileIOBase.java
|
2012-11-02 03:53:13 +00:00
|
|
|
--- minecraft\net\minecraft\src\ThreadedFileIOBase.java Thu Nov 01 23:59:12 2012
|
|
|
|
+++ minecraft_patched\net\minecraft\src\ThreadedFileIOBase.java Fri Nov 02 00:00:40 2012
|
2012-10-20 06:57:05 +00:00
|
|
|
@@ -20,7 +20,8 @@
|
2012-08-08 12:48:06 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
public void run() {
|
2012-10-20 06:57:05 +00:00
|
|
|
- this.func_75736_b();
|
|
|
|
+ while(true)
|
|
|
|
+ this.func_75736_b();
|
2012-08-08 12:48:06 +00:00
|
|
|
}
|
|
|
|
|
2012-10-20 16:27:30 +00:00
|
|
|
private void func_75736_b() {
|