From a6bca884dd2cbc677b37a980b179653ea2dbf4e6 Mon Sep 17 00:00:00 2001 From: RaphiMC <50594595+RaphiMC@users.noreply.github.com> Date: Sat, 13 Jul 2024 16:31:37 +0200 Subject: [PATCH] Update MinecraftAuth --- gradle.properties | 2 +- .../mixin/compat/jsonwebtoken/MixinDefaultJwtParserBuilder.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gradle.properties b/gradle.properties index f1c3908b..3d64295f 100644 --- a/gradle.properties +++ b/gradle.properties @@ -21,7 +21,7 @@ viaaprilfools_version=3.0.1-SNAPSHOT vialoader_version=3.0.2-SNAPSHOT # RaphiMC Libraries -minecraftauth_version=4.0.0 +minecraftauth_version=4.0.2 viabedrock_version=0.0.10-SNAPSHOT raknet_transport_version=1.0.0.CR3-SNAPSHOT diff --git a/src/main/java/de/florianmichael/viafabricplus/injection/mixin/compat/jsonwebtoken/MixinDefaultJwtParserBuilder.java b/src/main/java/de/florianmichael/viafabricplus/injection/mixin/compat/jsonwebtoken/MixinDefaultJwtParserBuilder.java index 5dccbbef..06cf9ca5 100644 --- a/src/main/java/de/florianmichael/viafabricplus/injection/mixin/compat/jsonwebtoken/MixinDefaultJwtParserBuilder.java +++ b/src/main/java/de/florianmichael/viafabricplus/injection/mixin/compat/jsonwebtoken/MixinDefaultJwtParserBuilder.java @@ -32,7 +32,7 @@ import org.spongepowered.asm.mixin.injection.Redirect; @Mixin(value = DefaultJwtParserBuilder.class, remap = false) public abstract class MixinDefaultJwtParserBuilder { - @Redirect(method = "build()Lio/jsonwebtoken/JwtParser;", at = @At(value = "INVOKE", target = "Lio/jsonwebtoken/impl/lang/Services;loadFirst(Ljava/lang/Class;)Ljava/lang/Object;")) + @Redirect(method = "build()Lio/jsonwebtoken/JwtParser;", at = @At(value = "INVOKE", target = "Lio/jsonwebtoken/impl/lang/Services;get(Ljava/lang/Class;)Ljava/lang/Object;")) public Object removeServicesSupport(Class spi) { return new GsonDeserializer<>(); }