diff --git a/Launcher/source-authlib/minecraft/MinecraftProfileTexture.java b/Launcher/source-authlib/minecraft/MinecraftProfileTexture.java index c3e30a6..cc13bc0 100644 --- a/Launcher/source-authlib/minecraft/MinecraftProfileTexture.java +++ b/Launcher/source-authlib/minecraft/MinecraftProfileTexture.java @@ -4,7 +4,7 @@ import java.util.EnumSet; import java.util.Set; -public final class MinecraftProfileTexture { +public class MinecraftProfileTexture { public static final Set PROFILE_TEXTURE_TYPES = Collections.unmodifiableSet(EnumSet.allOf(Type.class)); public static final int PROFILE_TEXTURE_COUNT = PROFILE_TEXTURE_TYPES.size(); diff --git a/Launcher/source-authlib/yggdrasil/CompatBridge.java b/Launcher/source-authlib/yggdrasil/CompatBridge.java index 225f00a..e701174 100644 --- a/Launcher/source-authlib/yggdrasil/CompatBridge.java +++ b/Launcher/source-authlib/yggdrasil/CompatBridge.java @@ -14,7 +14,7 @@ // Used to bypass Launcher's class name obfuscation and access API @LauncherAPI -public final class CompatBridge { +public class CompatBridge { public static final int PROFILES_MAX_BATCH_SIZE = BatchProfileByUsernameRequest.MAX_BATCH_SIZE; private CompatBridge() { diff --git a/Launcher/source-authlib/yggdrasil/CompatProfile.java b/Launcher/source-authlib/yggdrasil/CompatProfile.java index 6289a7d..473e571 100644 --- a/Launcher/source-authlib/yggdrasil/CompatProfile.java +++ b/Launcher/source-authlib/yggdrasil/CompatProfile.java @@ -8,7 +8,7 @@ import launcher.helper.SecurityHelper; @LauncherAPI -public final class CompatProfile { +public class CompatProfile { public static final String SKIN_URL_PROPERTY = ClientLauncher.SKIN_URL_PROPERTY; public static final String SKIN_DIGEST_PROPERTY = ClientLauncher.SKIN_DIGEST_PROPERTY; public static final String CLOAK_URL_PROPERTY = ClientLauncher.CLOAK_URL_PROPERTY; diff --git a/Launcher/source-authlib/yggdrasil/LegacyBridge.java b/Launcher/source-authlib/yggdrasil/LegacyBridge.java index 7cb5747..2e17530 100644 --- a/Launcher/source-authlib/yggdrasil/LegacyBridge.java +++ b/Launcher/source-authlib/yggdrasil/LegacyBridge.java @@ -10,7 +10,7 @@ // Used by 1.6.4 and below versions @LauncherAPI -public final class LegacyBridge { +public class LegacyBridge { private LegacyBridge() { } diff --git a/Launcher/source-authlib/yggdrasil/YggdrasilAuthenticationService.java b/Launcher/source-authlib/yggdrasil/YggdrasilAuthenticationService.java index d30bfde..53ebe91 100644 --- a/Launcher/source-authlib/yggdrasil/YggdrasilAuthenticationService.java +++ b/Launcher/source-authlib/yggdrasil/YggdrasilAuthenticationService.java @@ -9,7 +9,7 @@ import com.mojang.authlib.minecraft.MinecraftSessionService; import launcher.helper.LogHelper; -public final class YggdrasilAuthenticationService implements AuthenticationService { +public class YggdrasilAuthenticationService implements AuthenticationService { @SuppressWarnings("UnusedParameters") public YggdrasilAuthenticationService(Proxy proxy, String clientToken) { LogHelper.debug("Patched AuthenticationService created: '%s'", clientToken); diff --git a/Launcher/source-authlib/yggdrasil/YggdrasilGameProfileRepository.java b/Launcher/source-authlib/yggdrasil/YggdrasilGameProfileRepository.java index 1232bad..6bb4f04 100644 --- a/Launcher/source-authlib/yggdrasil/YggdrasilGameProfileRepository.java +++ b/Launcher/source-authlib/yggdrasil/YggdrasilGameProfileRepository.java @@ -12,7 +12,7 @@ import launcher.helper.VerifyHelper; import launcher.request.uuid.BatchProfileByUsernameRequest; -public final class YggdrasilGameProfileRepository implements GameProfileRepository { +public class YggdrasilGameProfileRepository implements GameProfileRepository { private static final long BUSY_WAIT_MS = VerifyHelper.verifyLong( Long.parseLong(System.getProperty("launcher.authlib.busyWait", Long.toString(100L))), VerifyHelper.L_NOT_NEGATIVE, "launcher.authlib.busyWait can't be < 0"); @@ -24,6 +24,10 @@ LogHelper.debug("Patched GameProfileRepository created"); } + public YggdrasilGameProfileRepository(YggdrasilAuthenticationService authenticationService) { + LogHelper.debug("Patched GameProfileRepository created"); + } + @Override public void findProfilesByNames(String[] usernames, Agent agent, ProfileLookupCallback callback) { int offset = 0; diff --git a/Launcher/source-authlib/yggdrasil/YggdrasilMinecraftSessionService.java b/Launcher/source-authlib/yggdrasil/YggdrasilMinecraftSessionService.java index b46d3b5..ab5e75a 100644 --- a/Launcher/source-authlib/yggdrasil/YggdrasilMinecraftSessionService.java +++ b/Launcher/source-authlib/yggdrasil/YggdrasilMinecraftSessionService.java @@ -28,11 +28,11 @@ import launcher.request.auth.JoinServerRequest; import launcher.request.uuid.ProfileByUUIDRequest; -public final class YggdrasilMinecraftSessionService extends BaseMinecraftSessionService { +public class YggdrasilMinecraftSessionService extends BaseMinecraftSessionService { public static final JsonParser JSON_PARSER = new JsonParser(); public static final boolean NO_TEXTURES = Boolean.parseBoolean("launcher.authlib.noTextures"); - public YggdrasilMinecraftSessionService(AuthenticationService service) { + public YggdrasilMinecraftSessionService(YggdrasilAuthenticationService service) { super(service); LogHelper.debug("Patched MinecraftSessionService created"); }