Update MinecraftAuth

This commit is contained in:
RaphiMC 2024-07-13 16:31:37 +02:00
parent c9e72446ef
commit a6bca884dd
No known key found for this signature in database
GPG Key ID: 0F6BB0657A03AC94
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

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