Fix crash and compile
This commit is contained in:
parent
52ef44273a
commit
0a2058d8e0
File diff suppressed because one or more lines are too long
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
|
17036
web/js/app.js
17036
web/js/app.js
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
BIN
web/resources.mc
BIN
web/resources.mc
Binary file not shown.
Loading…
Reference in New Issue
Block a user