Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use either authlib-injector or system properties, not both
Resolves #154 In 1.20+, authlib-injector wants to intercept https://api.minecraftservices.com/publickeys [0], but if we override the services server using -Dminecraft.api.services.host, the request does not get intercepted. That's not an issue for API servers that implement the /publickeys route, but Ely.by does not. A decent solution is to not set these -Dminecraft.api.*.host system properties when authlib-injector is available, since authlib-injector expects authlib to make requests to Mojang's API servers. [0] yushijinhun/authlib-injector@18a0ce2
- Loading branch information