mirror of
https://github.com/MultiMC/MultiMC5.git
synced 2024-12-26 00:15:16 +00:00
NOISSUE Corrected the fix for Classic saving, fixes Indev compatibility
This commit is contained in:
parent
eb3e6e4c6a
commit
49126fa8e2
@ -143,7 +143,11 @@ public class Launcher extends Applet implements AppletStub
|
||||
public URL getDocumentBase()
|
||||
{
|
||||
try {
|
||||
return new URL("http", "www.minecraft.net", 80, "/game/", null);
|
||||
// Special case only for Classic versions
|
||||
if (wrappedApplet.getClass().getCanonicalName().startsWith("com.mojang")) {
|
||||
return new URL("http", "www.minecraft.net", 80, "/game/", null);
|
||||
}
|
||||
return new URL("http://www.minecraft.net/game/");
|
||||
} catch (MalformedURLException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user