Clean up jar file classes a bit

This commit is contained in:
Camotoy 2023-03-22 11:10:04 -04:00
parent 7474d2c745
commit 323394d2b5
No known key found for this signature in database
GPG key ID: 7EEFB66FE798081F
4 changed files with 38 additions and 3 deletions

View file

@ -732,7 +732,11 @@ public class GeyserSession implements GeyserConnection, GeyserCommandSource {
return;
}
connectDownstream();
try {
connectDownstream();
} catch (Throwable t) {
t.printStackTrace();
}
});
}
@ -776,7 +780,11 @@ public class GeyserSession implements GeyserConnection, GeyserCommandSource {
return;
}
connectDownstream();
try {
connectDownstream();
} catch (Throwable t) {
t.printStackTrace();
}
});
}
@ -850,7 +858,12 @@ public class GeyserSession implements GeyserConnection, GeyserCommandSource {
selectedProfile,
service.getAccessToken()
);
connectDownstream();
try {
connectDownstream();
} catch (Throwable t) {
t.printStackTrace();
return false;
}
// Save our refresh token for later use
geyser.saveRefreshToken(bedrockUsername(), service.getRefreshToken());