mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-30 18:36:58 +03:00
Merge pull request #3436 from Moresteck/develop
NOISSUE Corrected the fix for Classic saving, fixes Indev compatibility
This commit is contained in:
commit
e9abf8a2d4
1 changed files with 5 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue