summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorcflip <cflip@cflip.net>2023-08-24 18:47:20 -0600
committercflip <cflip@cflip.net>2023-08-24 18:47:20 -0600
commit7b45cf43de3ff5e95b43107a338856901ccb7383 (patch)
treea00caa2e49009bb432ced5bae7acbb6d0b512633 /src
parentda18c33116ea2767eec97ee16ffe25a5e2180ca5 (diff)
Enable BetaCraft proxy before launching the game
Diffstat (limited to 'src')
-rw-r--r--src/net/minecraft/Launcher.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/net/minecraft/Launcher.java b/src/net/minecraft/Launcher.java
index c6aeed0..645aa46 100644
--- a/src/net/minecraft/Launcher.java
+++ b/src/net/minecraft/Launcher.java
@@ -75,6 +75,8 @@ public class Launcher extends Applet implements Runnable, AppletStub {
Launcher.this.gameUpdater.run();
try {
if (!Launcher.this.gameUpdater.fatalError) {
+ System.setProperty("http.proxyHost", "betacraft.uk");
+ System.setProperty("http.proxyPort", "11702");
Launcher.this.replace(Launcher.this.gameUpdater.createApplet());
}
} catch (ClassNotFoundException e) {