Excessive safety
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
This commit is contained in:
parent
ade7526f5f
commit
0cd1d7aa7e
@ -93,7 +93,7 @@ public final class Launcher extends Applet implements AppletStub {
|
|||||||
try {
|
try {
|
||||||
if (documentBase != null) {
|
if (documentBase != null) {
|
||||||
this.documentBase = documentBase;
|
this.documentBase = documentBase;
|
||||||
} else if (applet.getClass().getPackage().getName().startsWith("com.mojang")) {
|
} else if (applet.getClass().getPackage().getName().startsWith("com.mojang.")) {
|
||||||
// Special case only for Classic versions
|
// Special case only for Classic versions
|
||||||
|
|
||||||
// TODO: 2022-10-27 Can this be changed to https
|
// TODO: 2022-10-27 Can this be changed to https
|
||||||
|
Loading…
Reference in New Issue
Block a user