minor crap
parent
8985e0bf6e
commit
a16c0ea2eb
|
@ -14,6 +14,7 @@ public class MinecraftApplet extends Applet
|
||||||
private Canvas canvas;
|
private Canvas canvas;
|
||||||
private Minecraft minecraft;
|
private Minecraft minecraft;
|
||||||
private Thread thread;
|
private Thread thread;
|
||||||
|
static JMenuBar mb;
|
||||||
|
|
||||||
public MinecraftApplet() {
|
public MinecraftApplet() {
|
||||||
this.thread = null;
|
this.thread = null;
|
||||||
|
@ -34,7 +35,7 @@ public class MinecraftApplet extends Applet
|
||||||
super.removeNotify();
|
super.removeNotify();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
this.minecraft = new Minecraft(this.canvas, this.getWidth(), this.getHeight(), false);
|
this.minecraft = new Minecraft(this.canvas, this.getWidth(), this.getHeight(), true);
|
||||||
this.minecraft.appletMode = true;
|
this.minecraft.appletMode = true;
|
||||||
this.setLayout(new BorderLayout());
|
this.setLayout(new BorderLayout());
|
||||||
this.add(this.canvas, "Center");
|
this.add(this.canvas, "Center");
|
||||||
|
|
Loading…
Reference in New Issue