aboutsummaryrefslogtreecommitdiff
path: root/libraries/launcher/net/minecraft
diff options
context:
space:
mode:
authorTheKodeToad <TheKodeToad@proton.me>2022-11-05 09:10:52 +0000
committerTheKodeToad <TheKodeToad@proton.me>2022-11-08 17:38:23 +0000
commit50d40257fe8631338f9b6c278cc18c8ca9cab1a1 (patch)
tree773e8244a87fd32c0243d92faa16651955850931 /libraries/launcher/net/minecraft
parentd90eff64d06a668e730e8af33cec325a5bac94de (diff)
downloadPrismLauncher-50d40257fe8631338f9b6c278cc18c8ca9cab1a1.tar.gz
PrismLauncher-50d40257fe8631338f9b6c278cc18c8ca9cab1a1.tar.bz2
PrismLauncher-50d40257fe8631338f9b6c278cc18c8ca9cab1a1.zip
Always use this for consistency
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
Diffstat (limited to 'libraries/launcher/net/minecraft')
-rw-r--r--libraries/launcher/net/minecraft/Launcher.java36
1 files changed, 18 insertions, 18 deletions
diff --git a/libraries/launcher/net/minecraft/Launcher.java b/libraries/launcher/net/minecraft/Launcher.java
index 3bd38e77..b895d5b7 100644
--- a/libraries/launcher/net/minecraft/Launcher.java
+++ b/libraries/launcher/net/minecraft/Launcher.java
@@ -113,28 +113,28 @@ public final class Launcher extends Applet implements AppletStub {
wrappedApplet = applet;
applet.setStub(this);
- applet.setSize(getWidth(), getHeight());
+ applet.setSize(this.getWidth(), this.getHeight());
setLayout(new BorderLayout());
this.add(applet, "Center");
applet.init();
- active = true;
+ this.active = true;
applet.start();
- validate();
+ this.validate();
}
@Override
public boolean isActive() {
- return active;
+ return this.active;
}
@Override
public URL getDocumentBase() {
- return documentBase;
+ return this.documentBase;
}
@Override
@@ -149,7 +149,7 @@ public final class Launcher extends Applet implements AppletStub {
@Override
public String getParameter(String name) {
- String param = params.get(name);
+ String param = this.params.get(name);
if (param != null)
return param;
@@ -164,49 +164,49 @@ public final class Launcher extends Applet implements AppletStub {
@Override
public void resize(int width, int height) {
- wrappedApplet.resize(width, height);
+ this.wrappedApplet.resize(width, height);
}
@Override
public void resize(Dimension size) {
- wrappedApplet.resize(size);
+ this.wrappedApplet.resize(size);
}
@Override
public void init() {
- if (wrappedApplet != null)
- wrappedApplet.init();
+ if (this.wrappedApplet != null)
+ this.wrappedApplet.init();
}
@Override
public void start() {
- wrappedApplet.start();
+ this.wrappedApplet.start();
- active = true;
+ this.active = true;
}
@Override
public void stop() {
- wrappedApplet.stop();
+ this.wrappedApplet.stop();
- active = false;
+ this.active = false;
}
@Override
public void destroy() {
- wrappedApplet.destroy();
+ this.wrappedApplet.destroy();
}
@Override
public void appletResize(int width, int height) {
- wrappedApplet.resize(width, height);
+ this.wrappedApplet.resize(width, height);
}
@Override
public void setVisible(boolean visible) {
super.setVisible(visible);
- wrappedApplet.setVisible(visible);
+ this.wrappedApplet.setVisible(visible);
}
@Override
@@ -218,7 +218,7 @@ public final class Launcher extends Applet implements AppletStub {
}
public void setParameter(String name, String value) {
- params.put(name, value);
+ this.params.put(name, value);
}
}