mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-12-22 16:41:46 +03:00
[FIX] Фикс PaperSpigot без модуля-патчера
This commit is contained in:
parent
6a25d83fbe
commit
a0e03ca979
7 changed files with 7 additions and 7 deletions
|
@ -4,7 +4,7 @@
|
|||
import java.util.EnumSet;
|
||||
import java.util.Set;
|
||||
|
||||
public final class MinecraftProfileTexture {
|
||||
public class MinecraftProfileTexture {
|
||||
public enum Type {
|
||||
SKIN,
|
||||
CAPE,
|
||||
|
|
|
@ -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 = SerializeLimits.MAX_BATCH_SIZE;
|
||||
|
||||
public static CompatProfile checkServer(String username, String serverID) throws Exception {
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
import pro.gravit.utils.helper.SecurityHelper;
|
||||
|
||||
@LauncherAPI
|
||||
public final class CompatProfile {
|
||||
public class CompatProfile {
|
||||
public static final String SKIN_URL_PROPERTY = Launcher.SKIN_URL_PROPERTY;
|
||||
public static final String SKIN_DIGEST_PROPERTY = Launcher.SKIN_DIGEST_PROPERTY;
|
||||
public static final String CLOAK_URL_PROPERTY = Launcher.CLOAK_URL_PROPERTY;
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
// Used by 1.6.4 and below versions
|
||||
@LauncherAPI
|
||||
public final class LegacyBridge {
|
||||
public class LegacyBridge {
|
||||
public static boolean checkServer(String username, String serverID) throws Exception {
|
||||
LogHelper.debug("LegacyBridge.checkServer, Username: '%s', Server ID: %s", username, serverID);
|
||||
return new CheckServerRequest(username, serverID).request() != null;
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
import pro.gravit.utils.helper.LogHelper;
|
||||
|
||||
public final class YggdrasilAuthenticationService implements AuthenticationService {
|
||||
public class YggdrasilAuthenticationService implements AuthenticationService {
|
||||
public YggdrasilAuthenticationService(Proxy proxy, String clientToken) {
|
||||
LogHelper.debug("Patched AuthenticationService created: '%s'", clientToken);
|
||||
}
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
import pro.gravit.utils.helper.LogHelper;
|
||||
import pro.gravit.utils.helper.VerifyHelper;
|
||||
|
||||
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.com.mojang.authlib.busyWait", Long.toString(100L))),
|
||||
VerifyHelper.L_NOT_NEGATIVE, "launcher.com.mojang.authlib.busyWait can't be < 0");
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
import pro.gravit.utils.helper.LogHelper;
|
||||
import pro.gravit.utils.helper.SecurityHelper;
|
||||
|
||||
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.com.mojang.authlib.noTextures");
|
||||
|
||||
|
|
Loading…
Reference in a new issue