mirror of
https://github.com/ViaVersion/ViaFabricPlus.git
synced 2025-02-10 00:42:08 +01:00
Fixed bedrock login not working
This commit is contained in:
parent
5c061e503d
commit
f61cb8b8f6
@ -32,8 +32,8 @@ 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;"))
|
||||
public Object removeServicesSupport(Class<Object> result) {
|
||||
@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