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<>(); }