Fix crash and compile

This commit is contained in:
PeytonPlayz595 2024-10-16 17:20:55 -04:00
parent 52ef44273a
commit 0a2058d8e0
8 changed files with 17049 additions and 17048 deletions

File diff suppressed because one or more lines are too long

View File

@ -2,10 +2,10 @@ package net.minecraft.src;
import net.PeytonPlayz585.fileutils.File;
import net.PeytonPlayz585.fileutils.FileChooserResult;
import net.PeytonPlayz585.input.Mouse;
import net.PeytonPlayz585.opengl.GL11;
import java.util.List;
import org.lwjgl.input.Mouse;
public class GuiTexturePacks extends GuiScreen {
protected GuiScreen field_6461_a;

View File

@ -225,11 +225,13 @@ public class RenderGlobal implements IWorldAccess {
}
}
if(this.worldObj != null) {
if(this.mc.theWorld != null) {
EntityPlayerSP var7 = this.mc.thePlayer;
if(var7 != null) {
this.func_956_b(MathHelper.floor_double(var7.posX), MathHelper.floor_double(var7.posY), MathHelper.floor_double(var7.posZ));
Arrays.sort(this.field_1445_n, new EntitySorter(var7));
}
}
this.field_1424_I = 2;
}

View File

@ -11,7 +11,7 @@ import net.PeytonPlayz585.awt.image.ImageIO;
import net.PeytonPlayz585.fileutils.FileEntry;
import net.PeytonPlayz585.util.zip.ZipFile;
import net.minecraft.client.Minecraft;
import org.lwjgl.opengl.GL11;
import net.PeytonPlayz585.opengl.GL11;
public class TexturePackCustom extends TexturePackBase {
private ZipFile field_6496_e;

View File

@ -45,7 +45,7 @@ public class Client {
System.out.println(" -------- starting minecraft -------- ");
canvas.focus();
Minecraft mc = new Minecraft();
mc.field_6320_i = new Session("Player094");
mc.session = new Session("Player094");
mc.run();
//} catch(Exception e) {
//rip

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

Binary file not shown.