mirror of
https://github.com/ViaVersion/ViaFabricPlus.git
synced 2024-11-21 11:46:49 +01:00
Update MinecraftAuth
This commit is contained in:
parent
c9e72446ef
commit
a6bca884dd
@ -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
|
||||
|
@ -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<>();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user