Updated MinecraftAuth usage

This commit is contained in:
RaphiMC 2023-06-17 00:42:52 +02:00
parent 0eddc9ba05
commit 76f84af5da
No known key found for this signature in database
GPG Key ID: 0F6BB0657A03AC94

View File

@ -86,7 +86,7 @@ public class BedrockAccount extends Account {
@Override @Override
public void refreshRuntimeData(CloseableHttpClient httpClient) throws Throwable { public void refreshRuntimeData(CloseableHttpClient httpClient) throws Throwable {
this.mcChain = new StepMCChain(null).applyStep(httpClient, this.mcChain.prevResult()); // Force refresh, because some servers check the issuedAt field this.refresh(httpClient);
try { try {
if (this.playFabToken == null) { if (this.playFabToken == null) {
throw new NullPointerException(); throw new NullPointerException();